HIGH Introduced in 6.0
binder SupersededTxn FdClose
CVE-2026-98778
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: binder: fix is_failure flag for superseded transaction cleanup When a TF_UPDATE_TXN transaction supersedes a pending async transaction, binder_release_entire_buffer() is called with is_failure=false. Since the superseded transaction was never delivered, binder_apply_fd_fixups() was never called and no fds were installed in the target process. With is_failure=false, the BINDER_TYPE_FDA cleanup handler interprets stale buffer contents as installed fd numbers and passes them to binder_deferred_fd_close(), closing unrelated file descriptors. Pass is_failure=true since the transaction was never delivered to the target, matching the semantics of all other undelivered-transaction cleanup paths.
02KernelScan AI Analysis
Risk summary
An unprivileged Android app can exploit a logic error in the binder driver's transaction supersession handling to cause the kernel to close arbitrary file descriptors in a target process. This leads to denial of service, potential privilege escalation, or information disclosure by forcing the target to operate on attacker-chosen file descriptors.
Vulnerability analysis
When a TF_UPDATE_TXN transaction supersedes a pending async transaction in the binder driver, the cleanup path incorrectly passes is_failure=false to binder_release_entire_buffer(). This tells the FDA (file descriptor array) cleanup handler that the transaction was successfully delivered and its file descriptors were installed in the target process. In reality, the superseded transaction was never delivered, so binder_apply_fd_fixups() never ran and no file descriptors were installed. The cleanup handler then reads stale buffer contents from the old transaction, interprets them as valid file descriptor numbers, and closes those descriptors in the target process via binder_deferred_fd_close(). The fix changes the is_failure parameter to true, correctly signaling that the transaction was never delivered and the buffer contents must not be treated as installed file descriptors. Any unprivileged Android app that can send binder transactions can trigger this by sending a TF_UPDATE_TXN oneway transaction that supersedes a pending transaction on a frozen target process.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.1 | 6.0 | 6.1.191 | f4c072e544b8 |
| 6.12 | 6.0 | 6.12.113 | 60a9f7323ae7 |
| 6.18 | 6.0 | 6.18.56 | 86cdcc87d4ba |
| 6.6 | 6.0 | 6.6.160 | e9b364e46d59 |
| 7.2 | 6.0 | 7.2.10 | 1ab671b50714 |
| mainline | 6.0 | 7.3 | 22c135635fdd |
| cip/6.12 | 6.0 | 6.12.114-cip34 | 60a9f7323ae7 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |