Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98778 Overview
CVE-2026-98778 affects the Linux kernel's binder driver, the inter-process communication (IPC) mechanism used extensively on Android. The flaw occurs in the cleanup path for superseded asynchronous transactions. When a TF_UPDATE_TXN transaction replaces a pending async transaction, binder_release_entire_buffer() is called with is_failure=false. Because the superseded transaction was never delivered, binder_apply_fd_fixups() never ran and no file descriptors were installed. The BINDER_TYPE_FDA cleanup handler then interprets stale buffer contents as installed file descriptor numbers and passes them to binder_deferred_fd_close(), closing unrelated descriptors in the target process.
Critical Impact
A local process can cause the kernel to close arbitrary file descriptors in a target process, leading to denial of service, logic errors, or potential privilege-adjacent issues through descriptor reuse.
Affected Products
- Linux kernel versions containing the binder driver with TF_UPDATE_TXN support
- Android devices built on affected Linux kernel versions
- Downstream distributions shipping the vulnerable binder driver
Discovery Timeline
- 2026-10-18 - CVE-2026-98778 published to NVD
- 2026-10-21 - Last updated in NVD database
Technical Details for CVE-2026-98778
Vulnerability Analysis
The Linux binder driver manages async transactions between processes. A TF_UPDATE_TXN transaction can supersede a pending async transaction that has not yet been delivered to the target. During cleanup, binder_release_entire_buffer() is invoked to release the superseded buffer. The function accepts an is_failure parameter that governs how embedded objects, including file descriptor arrays (BINDER_TYPE_FDA), are handled.
When is_failure=false, the cleanup logic assumes file descriptors were installed into the target process by a prior call to binder_apply_fd_fixups(). It therefore reads the buffer contents as fd numbers and calls binder_deferred_fd_close() on each. In the superseded case, binder_apply_fd_fixups() never ran. The buffer still contains the sender-side fd handles or stale data, which the kernel then treats as valid fd numbers in the recipient.
Root Cause
The root cause is an incorrect is_failure argument on the superseded-transaction cleanup path. The code did not match the semantics used by other undelivered-transaction cleanup paths, which pass is_failure=true to prevent cleanup from acting on fds that were never installed. [CWE-754] improper handling of exceptional conditions applies.
Attack Vector
Exploitation requires a local attacker able to issue binder IPC calls. The attacker crafts an async transaction containing BINDER_TYPE_FDA objects, then issues a TF_UPDATE_TXN that supersedes it before delivery. The kernel's flawed cleanup then closes file descriptors in the target process based on attacker-influenced buffer contents. Impact includes denial of service against privileged processes, broken session state, and potential downstream security consequences if a closed fd number is reallocated to a sensitive resource.
See the upstream fix commits for implementation details, including Kernel Git Commit 86cdcc8 and Kernel Git Commit 22c1356.
Detection Methods for CVE-2026-98778
Indicators of Compromise
- Unexpected close() events on file descriptors in processes that act as binder transaction targets, with no corresponding userspace call.
- Application crashes or broken sessions in services receiving async binder transactions shortly after TF_UPDATE_TXN activity.
- Kernel log entries referencing binder_deferred_fd_close tied to processes that did not request fd closure.
Detection Strategies
- Audit kernel version strings across the fleet and compare against patched stable branches listed in the upstream commits.
- Enable binder tracepoints (binder_transaction, binder_transaction_received) and correlate TF_UPDATE_TXN flows with downstream fd lifecycle anomalies.
- Monitor for repeated EBADF errors in system services that consume binder async transactions.
Monitoring Recommendations
- Collect dmesg and auditd records for anomalous fd closures in system_server, mediaserver, and other binder-heavy processes.
- Forward Linux and Android host telemetry to a centralized data lake for longitudinal analysis of binder-related errors.
- Track process crash telemetry for services whose descriptors are closed out-of-band.
How to Mitigate CVE-2026-98778
Immediate Actions Required
- Identify Linux and Android hosts running kernels that include binderTF_UPDATE_TXN handling and schedule prompt updates.
- Apply the upstream stable kernel patches referenced in the NVD entry as soon as vendor builds are available.
- For Android devices, install the Android Security Bulletin update that incorporates the fix once published by the device vendor.
Patch Information
The fix passes is_failure=true on the superseded-transaction cleanup path, aligning with every other undelivered-transaction cleanup. Backports are available across multiple stable branches in the following commits: Kernel Git Commit 1ab671b, Kernel Git Commit 22c1356, Kernel Git Commit 60a9f73, Kernel Git Commit 86cdcc8, and Kernel Git Commit e9b364e.
Workarounds
- No supported workaround replaces the kernel patch; the vulnerable code path is reached through normal binder usage.
- Reduce local attack surface by restricting untrusted application installation and tightening SELinux policies that govern binder access on Android.
- Where feasible on Linux systems that do not require binder, unload or avoid loading the module until a patched kernel is deployed.
# Verify running kernel against patched stable branches
uname -r
# Check whether the binder module is loaded
lsmod | grep -i binder
# On Android, confirm the security patch level includes the fix
adb shell getprop ro.build.version.security_patch
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

