# CVE-2026-139618: bpf: Fix uninit read for helper mem args on partially spilled slots

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:36:25.010Z
- **Modified:** 2026-11-30T14:19:44.487Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker with local BPF program loading can read uninitialized kernel stack memory through helper memory arguments on partially spilled stack slots in the Linux kernel.

## Who should check

- Anyone running Linux \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< 169884f932924796d6947fc6adcabd5fc2d92575; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< e81530cbce0b751936d962cabe43a8436aaae109; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< f3bd942493c912fd84a5c3fe57b7ea31083988b6; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< b3861495d2b2f7459cddf49e63fa0758ba430583; 8de8c4a25ed8924b09cf8cd542feea854d5ee5bf; 7b86f9ab56924ca56cde927d461165127b6b472e; \>= 5.10.168, \< 5.11; \>= 5.15.93, \< 5.16
- Anyone running Linux 5.16

## Description

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

bpf: Fix uninit read for helper mem args on partially spilled slots

check\_stack\_range\_initialized() takes the spilled register path when
bpf\_is\_spilled\_reg(ss) holds, which, however, only looks at the last
byte of the slot. Hence, a partially spilled scalar (on the lower part)
bypasses the check and the following loads:

0: (b7) r1 = 1                        ; R1=1
1: (63) \*(u32 \*)(r10 -8) = r1         ; R1=1 R10=fp0 fp-8=????1
2: (18) r1 = 0x0                      ; R1=map\_ptr(map=rb,ks=0,vs=0)
4: (bf) r2 = r10                      ; R2=fp0 R10=fp0
5: (07) r2 += -8                      ; R2=fp-8
6: (b7) r3 = 8                        ; R3=8
7: (b7) r4 = 0                        ; R4=0
8: (85) call bpf\_ringbuf\_output\#130
...

When executed, it dumps the uninit four bytes:
	RINGBUF: 01 00 00 00 ff ff ff ff

This is the same root cause as the non-fetch atomic case fixed in
commit 5a84b4424db8 ("bpf: Fix uninit read for non-fetch atomics on
partially spilled slots").

Fix by only taking the spilled register path for the bytes marked
STACK\_SPILL, so the rest of the slot goes through the usual checks.

## Affected and fixed versions

- Linux: \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< 169884f932924796d6947fc6adcabd5fc2d92575; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< e81530cbce0b751936d962cabe43a8436aaae109; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< f3bd942493c912fd84a5c3fe57b7ea31083988b6; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< b3861495d2b2f7459cddf49e63fa0758ba430583; 8de8c4a25ed8924b09cf8cd542feea854d5ee5bf; 7b86f9ab56924ca56cde927d461165127b6b472e; \>= 5.10.168, \< 5.11; \>= 5.15.93, \< 5.16 (cvelist)
- Linux: 5.16 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139618. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139618.md
Affected: Linux >= 354e8f1970f821d4952458f77b1ab6c3eb24d530, < 169884f932924796d6947fc6adcabd5fc2d92575; >= 354e8f1970f821d4952458f77b1ab6c3eb24d530, < e81530cbce0b751936d962cabe43a8436aaae109; >= 354e8f1970f821d4952458f77b1ab6c3eb24d530, < f3bd942493c912fd84a5c3fe57b7ea31083988b6; >= 354e8f1970f821d4952458f…
Fixed in: Linux 169884f932924796d6947fc6adcabd5fc2d92575, Linux 5.11, Linux 5.16

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-139618 being exploited?

There is no confirmed exploitation: CVE-2026-139618 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139618?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139618?

Linux \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< 169884f932924796d6947fc6adcabd5fc2d92575; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< e81530cbce0b751936d962cabe43a8436aaae109; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< f3bd942493c912fd84a5c3fe57b7ea31083988b6; \>= 354e8f1970f821d4952458f77b1ab6c3eb24d530, \< b3861495d2b2f7459cddf49e63fa0758ba430583; 8de8c4a25ed8924b09cf8cd542feea854d5ee5bf; 7b86f9ab56924ca56cde927d461165127b6b472e; \>= 5.10.168, \< 5.11; \>= 5.15.93, \< 5.16; Linux 5.16.

### Is there a fix for CVE-2026-139618?

Yes. Fixed in Linux 169884f932924796d6947fc6adcabd5fc2d92575, Linux 5.11, Linux 5.16. Upgrade Linux to 5.16 or later.

### How do I check if I'm affected by CVE-2026-139618?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/169884f932924796d6947fc6adcabd5fc2d92575>
- other: <https://git.kernel.org/stable/c/e81530cbce0b751936d962cabe43a8436aaae109>
- other: <https://git.kernel.org/stable/c/f3bd942493c912fd84a5c3fe57b7ea31083988b6>
- other: <https://git.kernel.org/stable/c/b3861495d2b2f7459cddf49e63fa0758ba430583>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139618>

HTML: <https://flawdb.com/CVE-2026-139618> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139618>
