# CVE-2026-23194: rust_binder: correctly handle FDA objects of length zero

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-02-14T16:27:20.944Z
- Modified: 2026-06-17T10:21:04.530Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rust_binder: correctly handle FDA objects of length zero

Fix a bug where an empty FDA (fd array) object with 0 fds would cause an
out-of-bounds error. The previous implementation used `skip == 0` to
mean "this is a pointer fixup", but 0 is also the correct skip length
for an empty FDA. If the FDA is at the end of the buffer, then this
results in an attempt to write 8-bytes out of bounds. This is caught and
results in an EINVAL error being returned to userspace.

The pattern of using `skip == 0` as a special value originates from the
C-implementation of Binder. As part of fixing this bug, this pattern is
replaced with a Rust enum.

I considered the alternate option of not pushing a fixup when the length
is zero, but I think it's cleaner to just get rid of the zero-is-special
stuff.

The root cause of this bug was diagnosed by Gemini CLI on first try. I
used the following prompt:

> There appears to be a bug in @drivers/android/binder/thread.rs where
> the Fixups oob bug is triggered with 316 304 316 324. This implies
> that we somehow ended up with a fixup where buffer A has a pointer to
> buffer B, but the pointer is located at an index in buffer A that is
> out of bounds. Please investigate the code to find the bug. You may
> compare with @drivers/android/binder.c that implements this correctly.

(As written by CVE List.)

## Affected

- Linux Linux: from eafedbc7c050c44744fbdf80bdf3315e860b7513 before 598fe3ff32e43918ed8a062f55432b3d23e6340c; from eafedbc7c050c44744fbdf80bdf3315e860b7513 before 8f589c9c3be539d6c2b393c82940c3783831082f; 6.18 (not affected: before 6.18; from 6.18.10 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.18 before 6.18.10; 6.19

## References

- <https://git.kernel.org/stable/c/598fe3ff32e43918ed8a062f55432b3d23e6340c> (patch)
- <https://git.kernel.org/stable/c/8f589c9c3be539d6c2b393c82940c3783831082f> (patch)

## Sources

- CVE List: [CVE-2026-23194](https://www.cve.org/CVERecord?id=CVE-2026-23194), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23194](https://nvd.nist.gov/vuln/detail/CVE-2026-23194), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23194 · Whole record: https://cve.day/CVE-2026-23194.json · Rebuilt by cve.day 2026-11-25T22:59:13.914Z
