aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2020-12-11 05:12:51 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-01-06 12:34:57 -0500
commit3d1a90ab0ed93362ec8ac85cf291243c87260c21 (patch)
tree91ba14a8f9fcd7e627eb29681e144438aa90a8a6 /fs/nfs/internal.h
parentLinux 5.11-rc2 (diff)
downloadlinux-dev-3d1a90ab0ed93362ec8ac85cf291243c87260c21.tar.xz
linux-dev-3d1a90ab0ed93362ec8ac85cf291243c87260c21.zip
NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
It is only safe to call the tracepoint before rpc_put_task() because 'data' is freed inside nfs4_lock_release (rpc_release). Fixes: 48c9579a1afe ("Adding stateid information to tracepoints") Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/internal.h')
0 files changed, 0 insertions, 0 deletions