summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-03 10:28:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-16 10:12:53 +0200
commitd1489f0b4de73a06f10d3cc9c7dddc5f89784abb (patch)
tree2a50b33640afb0ebd94150391cc4978283076f5d /arch/powerpc
parent898c19f1b4c8b9429dee99e3fdbc2cfa2464eb60 (diff)
downloadlinux-stable-d1489f0b4de73a06f10d3cc9c7dddc5f89784abb.tar.gz
linux-stable-d1489f0b4de73a06f10d3cc9c7dddc5f89784abb.tar.bz2
linux-stable-d1489f0b4de73a06f10d3cc9c7dddc5f89784abb.zip
NFSv4: Fix an Oops in nfs4_do_setattr
commit 09a54f0ebfe263bc27c90bbd80187b9a93283887 upstream. If the user specifies an open mode of 3, then we don't have a NFSv4 state attached to the context, and so we Oops when we try to dereference it. Reported-by: Olga Kornievskaia <aglo@umich.edu> Fixes: 29b59f9416937 ("NFSv4: change nfs4_do_setattr to take...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Cc: stable@vger.kernel.org # v4.10: 991eedb1371dc: NFSv4: Only pass the... Cc: stable@vger.kernel.org # v4.10+ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions