CVE-2026-64466: rust_binder: clear freeze listener on node removal
Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:51:23 +0200
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026072544-CVE-2026-64466-9b7f@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: 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. The Linux kernel CVE team has assigned CVE-2026-64466 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 6.18.39 with commit 91b27f8172cdbf265240104772fd042a461a7767 Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 7.1.4 with commit 0644da3621ddd8e146280675a2a31d1e06634a1d Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 7.2-rc3 with commit bc4a9828897871ff3e5a1f8a1d346decbf4ee95e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64466 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/android/binder/freeze.rs drivers/android/binder/node.rs drivers/android/binder/process.rs Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/91b27f8172cdbf265240104772fd042a461a7767 https://git.kernel.org/stable/c/0644da3621ddd8e146280675a2a31d1e06634a1d https://git.kernel.org/stable/c/bc4a9828897871ff3e5a1f8a1d346decbf4ee95e