CVE-2026-139606
bpf: Leave out the hidden exit edge of a subprogram without an exit
AI summary AI generated
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.
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, < 046cdb35953063b5d38fa7de541c0bb86011feb2; >= e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd, < 939bb6270ee32cfef0631b30ff07a9e0b8806e64; 928d354ae3557e8f755a227e67be88034eb3cd7f; 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe; de1055e7f9e67af32b1f3376066272b04e5223c0; 37ad2bb11e9de92cb7b94548705eeedd87f7d392; 8674e2db06cff6b50f2216eed9a761d15425bb34; ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337; >= 5.10.265, < 5.11; >= 5.15.216, < 5.16; …; Linux 6.19
- Fixed in
- Linux 046cdb35953063b5d38fa7de541c0bb86011feb2, Linux 939bb6270ee32cfef0631b30ff07a9e0b8806e64, Linux 5.11, Linux 5.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
Technologies
References
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |