CVE-2026-98774: rust_binder: cancel deferred work items in thread exit
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
rust_binder: cancel deferred work items in thread exit
If there are deferred work items on the thread todo list, then they are not cleaned up in the Thread::release() method. Thus, update the code to clean up the work items even if they are deferred.
This can happen if the thread dies while it has an active outgoing transaction.
The Linux kernel CVE team has assigned CVE-2026-98774 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 6.18.56 with commit d54df2de22f9ac5b660d0ec898986f805e97c096 Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 7.2.10 with commit 98dc9fababd1b7fb1a88b8362183baa5779c2394 Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 7.3-rc6 with commit 62479b6e5df82cbdf3c4145130928f233fae78fb
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-98774
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/d54df2de22f9ac5b660d0ec898986f805e97c096 https://git.kernel.org/stable/c/98dc9fababd1b7fb1a88b8362183baa5779c2394 https://git.kernel.org/stable/c/62479b6e5df82cbdf3c4145130928f233fae78fb