Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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>
Author Olga Kornievskaia Committer Trond Myklebust Date (Nov 23, 2025, 8:30 PM UTC) Commit
Copy SHA
Parent 6f8b26c9 6f8b26c90a4d645fd5c944c41a6f0fd61ec27c50