summaryrefslogtreecommitdiff
path: root/scripts/sbom
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2026-07-03 11:25:12 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-07-03 13:54:10 +0200
commitbc4a9828897871ff3e5a1f8a1d346decbf4ee95e (patch)
tree3411a23aeb841abea389ae2ff280b97bd9f838d4 /scripts/sbom
parent6849cabfd30fb5727cfd31e8241e15801e17ebf9 (diff)
rust_binder: clear freeze listener on node removal
Generally userspace is supposed to explicitly clear freeze listeners before they drop the refcount on the node ref to zero, but there's nothing forcing that. Currently, in this scenario the freeze listener remains in the freeze_listeners rbtree and in the remote node's freeze listener list, even though the ref for which the listener is registered is gone. This could potentially lead to a memory leak due to a refcount cycle. Thus, remove the freeze listener in this scenario. Cc: stable <stable@kernel.org> Fixes: eafedbc7c050 ("rust_binder: add Rust Binder driver") Signed-off-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20260703-remove-freeze-on-remove-node-v3-1-6e0c4547af46@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/sbom')
0 files changed, 0 insertions, 0 deletions