diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-08-03 10:28:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-16 10:11:10 +0200 |
commit | 863ccea53435179bd3811fc92176cfa00895f871 (patch) | |
tree | 68aa7f73ac419ef5c65dd8cd34539ce2c7e38b72 /arch/x86/include | |
parent | 983674ab26f90b03e3ca839d26b4c8e01427f043 (diff) | |
download | linux-stable-863ccea53435179bd3811fc92176cfa00895f871.tar.gz linux-stable-863ccea53435179bd3811fc92176cfa00895f871.tar.bz2 linux-stable-863ccea53435179bd3811fc92176cfa00895f871.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/x86/include')
0 files changed, 0 insertions, 0 deletions