Skip to content
Commit 6e4891dc authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: dc97618d

 "nfsd4: separate splice and readv cases"
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 980608fb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment