CVE-2026-43434: rust_binder: check ownership before using vma
In the Linux kernel, the following vulnerability has been resolved:
rustbinder: check ownership before using vma
When installing missing pages (or zapping them), Rust Binder will look up the vma in the mm by address, and then call vminsertpage (or zappagerangesingle). However, if the vma is closed and replaced with a different vma at the same address, this can lead to Rust Binder installing pages into the wrong vma.
By installing the page into a writable vma, it becomes possible to write to your own binder pages, which are normally read-only. Although you're not supposed to be able to write to those pages, the intent behind the design of Rust Binder is that even if you get that ability, it should not lead to anything bad. Unfortunately, due to another bug, that is not the case.
To fix this, store a pointer in vmprivatedata and check that the vma returned by vmalookup() has the right vmops and vmprivatedata before trying to use the vma. This should ensure that Rust Binder will refuse to interact with any other VMA. The plan is to introduce more vma abstractions to avoid this unsafe access to vmops and vmprivatedata, but for now let's start with the simplest possible fix.
C Binder performs the same check in a slightly different way: it provides a vmops->close that sets a boolean to true, then checks that boolean after calling vmalookup(), but this is more fragile than the solution in this patch. (We probably still want to do both, but the vmops->close callback will be added later as part of the follow-up vma API changes.)
It's still possible to remap the vma so that pages appear in the right vma, but at the wrong offset, but this is a separate issue and will be fixed when Rust Binder gets a vmops->close callback.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-43434?
CVE-2026-43434 has been classified with a moderate severity, indicating potential risks to system stability and security.
How do I fix CVE-2026-43434?
To mitigate CVE-2026-43434, users should upgrade the Linux kernel to the latest version that includes the patch addressing this vulnerability.
What does CVE-2026-43434 affect?
CVE-2026-43434 affects the Rust Binder component within the Linux kernel, specifically related to virtual memory area (vma) ownership checking.
How does CVE-2026-43434 exploit the system?
CVE-2026-43434 can be exploited if the Rust Binder improperly accesses virtual memory areas without confirming the ownership, potentially allowing for unauthorized memory access.
Is CVE-2026-43434 a local or remote vulnerability?
CVE-2026-43434 is considered a local vulnerability, requiring access to the system to exploit.