Skip to content
Commit b6c71c66 authored by Chuck Lever's avatar Chuck Lever
Browse files

NFSD: Fix potential use-after-free in nfsd_file_put()



nfsd_file_put_noref() can free @nf, so don't dereference @nf
immediately upon return from nfsd_file_put_noref().

Suggested-by: default avatarTrond Myklebust <trondmy@hammerspace.com>
Fixes: 99939792

 ("nfsd: Clean up nfsd_file_put()")
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 9ff9f77f
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