summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorOlga Kornievskaia <okorniev@redhat.com>2025-11-05 01:29:27 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2025-11-23 23:30:12 +0300
commit9e9fdd0ad0fba799dbae7ecfd167199885fb63a1 (patch)
treeda2504450d52531b7c39a75e6075bda3bc896d5f /scripts/patch-kernel
parent6f8b26c90a4d645fd5c944c41a6f0fd61ec27c50 (diff)
downloadlinux-9e9fdd0ad0fba799dbae7ecfd167199885fb63a1.tar.xz
NFSv4.1: protect destroying and nullifying bc_serv structure
When we are shutting down the client, we free the callback server structure and then at a later pointer we free the transport used by the client. Yet, it's possible that after the callback server is freed, the transport receives a backchannel request at which point we can dereferene freed memory. Instead, do the freeing the bc server and nullying bc_serv under the lock. Signed-off-by: Olga Kornievskaia <okorniev@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions