KernelScan.io

HIGH

binder OffsetArray TOCTOU

CVE-2026-43433

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: rust_binder: avoid reading the written value in offsets array When sending a transaction, its offsets array is first copied into the target proc's vma, and then the values are read back from there. This is normally fine because the vma is a read-only mapping, so the target process cannot change the value under us. However, if the target process somehow gains the ability to write to its own vma, it could change the offset before it's read back, causing the kernel to misinterpret what the sender meant. If the sender happens to send a payload with a specific shape, this could in the worst case lead to the receiver being able to privilege escalate into the sender. The intent is that gaining the ability to change the read-only vma of your own process should not be exploitable, so remove this TOCTOU read even though it's unexploitable without another Binder bug.

02

Engine v0.2.0

Risk summary

A TOCTOU race condition in the Rust Binder driver could allow privilege escalation between processes if an attacker can modify read-only VMA mappings. This affects Android systems and any Linux systems using the Rust Binder implementation for IPC.

Affecteddrivers/android/binder/thread.rs (Rust Binder driver)

Vulnerability analysis

The vulnerability occurs when processing Binder transaction offsets arrays. The kernel copies offset data to the target process's VMA, then reads it back for validation. If the target process gains write access to its supposedly read-only VMA through another vulnerability, it could modify offset values between copy and read operations. This TOCTOU condition could allow the receiver to manipulate how the kernel interprets the sender's transaction data, potentially leading to privilege escalation. The fix eliminates the race by reading offsets directly from the original user buffer instead of the VMA copy.

03

BranchFixed inPatch commit
6.186.18.19e19afb53f772
6.196.19.93672141c93b7
mainline7.04cb9e13fec0d