summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtrdma/svc_rdma_rw.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-06-01 02:49:01 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-06-02 20:05:58 +0300
commitb6c71c66b0ad8f2b59d9bc08c7a5079b110bec01 (patch)
tree95437836d9d92452761afcb80df88156d58bdff9 /net/sunrpc/xprtrdma/svc_rdma_rw.c
parent9ff9f77f34e44a0054eadb9041e459548c955ccb (diff)
downloadlinux-b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01.tar.xz
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: Trond Myklebust <trondmy@hammerspace.com> Fixes: 999397926ab3 ("nfsd: Clean up nfsd_file_put()") Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_rw.c')
0 files changed, 0 insertions, 0 deletions