CVE-2026-99321: rust_binder: wake epoll on self-work queued to poll thread
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
rust_binder: wake epoll on self-work queued to poll thread
When a thread pushes work to its own todo list, InnerThread::push_work() returns PushWorkRes::OkNotifyPoll if the thread uses epoll, but four call sites in thread.rs discard this return value. As a result, a non-blocking BC_* write that enqueues work onto the calling thread's todo list without also reading will not wake epoll. Check the return value and call self.process.notify_poll(false) when PushWorkRes::OkNotifyPoll is returned.
This is similar to commit 97830f3c3088 ("binder: signal epoll threads of self-work"), but in C Binder pending thread work also prevented subsequent process work from waking epoll, causing a permanent hang, which is not the case in Rust Binder. This means that in practice, it merely delays notifications rather than completely failing to send them.
The Linux kernel CVE team has assigned CVE-2026-99321 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.3 with commit dbb17c9ea7567c6ecefe47104cfcc255b91e4089 and fixed in 7.3.2 with commit efb488fd08fd9993d5bad6b6e2848d12a16e1a3a Issue introduced in 7.3 with commit dbb17c9ea7567c6ecefe47104cfcc255b91e4089 and fixed in 7.4-rc1 with commit 985955d8e6b2b15cfd65b7ac6893e3a5a90c5870
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-99321
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/thread.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/efb488fd08fd9993d5bad6b6e2848d12a16e1a3a https://git.kernel.org/stable/c/985955d8e6b2b15cfd65b7ac6893e3a5a90c5870