rust_binder: reschedule node refcount update on thread exit
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2a74ccd1bcc170e66525f34e9de8652b57e2cf3d, Kernel 71cbad138969edecef01b28dff87d91b56db538d and Kernel fb0f8dfc5a030ed3d60a1d03acdc99c90ee99fc1.
In the Linux kernel, the following vulnerability has been resolved: rust_binder: reschedule node refcount update on thread exit When a thread exits via BINDER_THREAD_EXIT, its pending work items are cancelled. If a thread exits while holding a pending node refcount increment (e.g. pushed as deferred work to that thread), the refcount increment was previously dropped because Node::cancel() and NodeWrapper::cancel() were no-ops. Dropping the refcount update leaves the node's delivery state and count state desynchronized, and userspace will not receive the notification, which can cause the node to never be freed from the process's nodes tree when all external references are dropped. Fix this by implementing DeliverToRead::cancel() for Node and NodeWrapper to move the pending refcount update to the process's work queue on thread exit so another thread can deliver it to userspace.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=eafedbc7c050c44744fbdf80bdf3315e860b7513 <2a74ccd1bcc170e66525f34e9de8652b57e2cf3d, >=eafedbc7c050c44744fbdf80bdf3315e860b7513 <71cbad138969edecef01b28dff87d91b56db538d, >=eafedbc7c050c44744fbdf80bdf3315e860b7513 <fb0f8dfc5a030ed3d60a1d03acdc99c90ee99fc1 | 2a74ccd1bcc170e66525f34e9de8652b57e2cf3d, 71cbad138969edecef01b28dff87d91b56db538d, fb0f8dfc5a030ed3d60a1d03acdc99c90ee99fc1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket