CVE-2026-64467: rust_binder: use a u64 stride when cleaning up the offsets array
In the Linux kernel, the following vulnerability has been resolved:
rustbinder: use a u64 stride when cleaning up the offsets array
Allocation's Drop walks the offsets array (bindersizet = u64 entries), cleaning up the objects, but it used usize instead of u64 for both the stride and the per-entry read.
On 64-bit kernels (usize == u64) this is harmless, but on 32-bit kernels it walks the 8-byte entries in 4-byte steps, iterating an N-entry array 2N times, and reads the always-zero high word as offset 0, cleaning up the object at offset 0 N extra times. As a result the referenced node or handle ends up with a lower reference count than it actually has (a refcount over-decrement), and binder's reference accounting is corrupted; for example, the owner can be notified of a strong reference release (BRRELEASE) even though references still remain.
Change the stride to u64, and read each entry as a u64, narrowing it to usize with tryinto().
On 32-bit ARM, when this over-decrement would drive a count below zero, the driver's existing refcount guard refuses it and fires:
rustbinder: Failure: refcount underflow!
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64467?
CVE-2026-64467 has a high severity score of 8.8.
How do I fix CVE-2026-64467?
To fix CVE-2026-64467, ensure your Linux kernel is updated to the patched version that addresses this issue.
What software is affected by CVE-2026-64467?
CVE-2026-64467 affects the Linux Kernel.
What type of vulnerability is CVE-2026-64467?
CVE-2026-64467 is a memory management vulnerability related to incorrect use of data sizes in the rust_binder.
What impact does CVE-2026-64467 have on system security?
CVE-2026-64467 can lead to potential data corruption and security breaches due to improper cleanup of memory allocations.