# CVE-2026-139606: bpf: Leave out the hidden exit edge of a subprogram without an exit

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

> **AI summary (AI-generated, claude-haiku-5-5):** A local attacker with ability to load BPF programs can trigger an out-of-bounds read in the Linux kernel BPF verifier via a subprogram without an exit, causing a crash or memory disclosure.

## Who should check

- Anyone running Linux \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 046cdb35953063b5d38fa7de541c0bb86011feb2; \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 939bb6270ee32cfef0631b30ff07a9e0b8806e64; 928d354ae3557e8f755a227e67be88034eb3cd7f; 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe; de1055e7f9e67af32b1f3376066272b04e5223c0; 37ad2bb11e9de92cb7b94548705eeedd87f7d392; 8674e2db06cff6b50f2216eed9a761d15425bb34; ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337; \>= 5.10.265, \< 5.11; \>= 5.15.216, \< 5.16; …
- Anyone running Linux 6.19

## Description

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

bpf: Leave out the hidden exit edge of a subprogram without an exit

visit\_abnormal\_return\_insn() gives tail\_call and ld\_{abs,ind} insns a
second successor, the exit\_idx of their subprogram, so that the hidden
exit from the subprogram is part of the CFG. check\_subprogs() only
assigns exit\_idx when it walks over a BPF\_EXIT, and a subprogram whose
last insn jumps back into itself never has one, so exit\_idx stays zero
and the edge points at insn 0 of the program:

  0: r0 = 0
  1: r0 = \*(u8 \*)skb\[0\]
  2: goto -2

For a subprogram other than main, update\_insn() then reads the liveness
masks at a negative relative index. Such a subprogram can still load
when it leaves through a bpf\_throw(), so mark exit\_idx as unset in that
case and leave the hidden edge out, as there is no exit for it to reach.

## Affected and fixed versions

- Linux: \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 046cdb35953063b5d38fa7de541c0bb86011feb2; \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 939bb6270ee32cfef0631b30ff07a9e0b8806e64; 928d354ae3557e8f755a227e67be88034eb3cd7f; 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe; de1055e7f9e67af32b1f3376066272b04e5223c0; 37ad2bb11e9de92cb7b94548705eeedd87f7d392; 8674e2db06cff6b50f2216eed9a761d15425bb34; ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337; \>= 5.10.265, \< 5.11; \>= 5.15.216, \< 5.16; … (cvelist)
- Linux: 6.19 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-139606.md
Affected: Linux >= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, < 046cdb35953063b5d38fa7de541c0bb86011feb2; >= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, < 939bb6270ee32cfef0631b30ff07a9e0b8806e64; 928d354ae3557e8f755a227e67be88034eb3cd7f; 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe; de1055e7f9e67af32b1f3376066272b…
Fixed in: Linux 046cdb35953063b5d38fa7de541c0bb86011feb2, Linux 939bb6270ee32cfef0631b30ff07a9e0b8806e64, 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-139606 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 046cdb35953063b5d38fa7de541c0bb86011feb2; \>= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, \< 939bb6270ee32cfef0631b30ff07a9e0b8806e64; 928d354ae3557e8f755a227e67be88034eb3cd7f; 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe; de1055e7f9e67af32b1f3376066272b04e5223c0; 37ad2bb11e9de92cb7b94548705eeedd87f7d392; 8674e2db06cff6b50f2216eed9a761d15425bb34; ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337; \>= 5.10.265, \< 5.11; \>= 5.15.216, \< 5.16; …; Linux 6.19.

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

Yes. Fixed in Linux 046cdb35953063b5d38fa7de541c0bb86011feb2, Linux 939bb6270ee32cfef0631b30ff07a9e0b8806e64, Linux 5.11, Linux 5.16. No fix listed yet: follow the vendor advisory.

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

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/046cdb35953063b5d38fa7de541c0bb86011feb2>
- other: <https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64>

## 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-139606>

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