diff options
author | J. Bruce Fields <bfields@redhat.com> | 2015-04-03 23:19:41 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-04-21 22:16:01 +0200 |
commit | 6e4891dc289cd191d46ab7ba1dcb29646644f9ca (patch) | |
tree | 9b99fa6fa8fd1ab4dcc571ad4125c7be2fece33a /fs/lockd | |
parent | nfsd4: disallow SEEK with special stateids (diff) | |
download | linux-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