diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-06-01 02:49:01 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-06-02 20:05:58 +0300 |
commit | b6c71c66b0ad8f2b59d9bc08c7a5079b110bec01 (patch) | |
tree | 95437836d9d92452761afcb80df88156d58bdff9 /net/sched | |
parent | 9ff9f77f34e44a0054eadb9041e459548c955ccb (diff) | |
download | linux-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/sched')
0 files changed, 0 insertions, 0 deletions