Linux BPF verifier reads a negative index for exitless subprograms
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 1 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
Linux kernel versions from 5.10.265 before 5.11, from 5.15.216 before 5.16, from 6.1.183 before 6.2, from 6.6.148 before 6.7, from 6.12.101 before 6.13, from 6.18.42 before 6.19, and from 6.19 before 7.3.6 are affected. The BPF verifier gives tail call and ld_abs and ld_ind instructions a hidden exit edge, and when a subprogram jumps back into itself without ever reaching an exit, that edge points at instruction 0. The verifier then reads liveness masks at a negative relative index for subprograms other than main. Such a subprogram can still load when it leaves through bpf_throw().
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.265 to before 5.11; 5.15.216 to before 5.16; 6.1.183 to before 6.2; 6.6.148 to before 6.7; 6.12.101 to before 6.13; 6.18.42 to before 6.19 | 5.11, 5.16, 6.2, 6.7, 6.13, 6.19 | Patch available | CNA |
| Linux | Linux | 6.19 and later | 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.265 to before 5.11; 5.15.216 to before 5.16; 6.1.183 to before 6.2; 6.6.148 to before 6.7; 6.12.101 to before 6.13; 6.18.42 to before 6.19 Fixed in 5.11, 5.16, 6.2, 6.7, 6.13, 6.19 Patch available CNA
- Linux VendorLinux Affected 6.19 and later Fixed in 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Fixed versions are 5.11, 5.16, 6.2, 6.7, 6.13, 6.19, 7.3.6, and 7.4-rc1 for the Linux kernel. Red Hat lists Red Hat Enterprise Linux 10 as affected with no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.11, 5.16, 6.2, 6.7, 6.13, 6.19
- Fix · CNA Linux (Linux) Fixed in 7.3.6, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
Not affected: 6 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139606
- 2026-11-30 Alias added: GHSA-w7wr-fm97-j7qj
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139606 · CVE Program
- CVE-2026-139606 · NVD
- GHSA-w7wr-fm97-j7qj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139606 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences