commit | 085125572a453938bf4b0f483ccb0d76c40f1d1c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Apr 03 01:15:46 2018 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 24 09:36:38 2018 +0200 |
tree | a1e8d2b3a41993e1070432ab081f30e80ec101f8 | |
parent | 0bb4a6f2ff1a9081a35b07760fa40f9880d16bc6 [diff] |
rpc_pipefs: fix double-dput() commit 4a3877c4cedd95543f8726b0a98743ed8db0c0fb upstream. if we ever hit rpc_gssd_dummy_depopulate() dentry passed to it has refcount equal to 1. __rpc_rmpipe() drops it and dput() done after that hits an already freed dentry. Cc: stable@kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>