summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2015-04-03 23:19:41 +0200
committerJ. Bruce Fields <bfields@redhat.com>2015-04-21 22:16:01 +0200
commit6e4891dc289cd191d46ab7ba1dcb29646644f9ca (patch)
tree9b99fa6fa8fd1ab4dcc571ad4125c7be2fece33a /fs/lockd
parentnfsd4: disallow SEEK with special stateids (diff)
downloadlinux-6e4891dc289cd191d46ab7ba1dcb29646644f9ca.tar.xz
linux-6e4891dc289cd191d46ab7ba1dcb29646644f9ca.zip
nfsd4: fix READ permission checking
In the case we already have a struct file (derived from a stateid), we still need to do permission-checking; otherwise an unauthorized user could gain access to a file by sniffing or guessing somebody else's stateid. Cc: stable@vger.kernel.org Fixes: dc97618ddda9 "nfsd4: separate splice and readv cases" Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions