CVE-2026-139297
CVE-2026-139297 — bpf: Don't let an extension reach further into the context than its target
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let an extension reach further into the context than its target How large the context of a raw tracepoint, tracepoint or syscall program is depends on what the program is attached to, or is run with. bpf_probe_register(), perf_event_set_bpf_prog() and the test runs compare that with max_ctx_offset of the program. An extension of the program, or of one of its global functions, gets the same context. How far it reaches is noted in its own max_ctx_offset, which nobody looks at. On a tracepoint with one argument it reads the stack behind the arguments, in a test run the memory behind the context, or from NULL if there is none: BUG: KASAN: stack-out-of-bounds in bpf_prog_954b5d2051843629_ts28_ext_far+0x7e/0x113 Read of size 8 at addr ffffc90000def7b8 by task ts28/104 BUG: KASAN: slab-out-of-bounds in bpf_prog_954b5d2051843629_ts28_ext_far+0x7e/0x113 Read of size 8 at addr ffff88810712c3e8 by task ts28/104 Refuse to attach an extension that reaches further than the program which it extends. A program that leaves the context to its extensions has to touch as much of it as they do.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 5.6). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | be8704ff07d2374bcc5c675526f95e70c6459683 to < 9419737483f5ad5f66f70e285d6d36ec23fc793e | Vulnerable |
| Linux | Linux | be8704ff07d2374bcc5c675526f95e70c6459683 to < 782fa09837c27fa337fd2ce9dc0702bb6f15af6a | Vulnerable |
| Linux | Linux | be8704ff07d2374bcc5c675526f95e70c6459683 | Vulnerable |
| Linux | Linux | be8704ff07d2374bcc5c675526f95e70c6459683 | Vulnerable |
| Linux | Linux | 5.6 | Vulnerable |
| Linux | Linux | 0 to < 5.6 | Patched |
| Linux | Linux | 6.12.120 to <= 6.12.* | Patched |
| Linux | Linux | 6.18.65 to <= 6.18.* | Patched |
| Linux | Linux | 7.3.6 to <= 7.3.* | Patched |
| Linux | Linux | 7.4-rc1 | Patched |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /0x113, /104.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-qhgg-m4wf-q2jh published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
6 on the record
- git.kernel.org/stable/c/782fa09837c27fa337fd2ce9dc0702bb6f15af6a
Vendor Advisory
- git.kernel.org/stable/c/9419737483f5ad5f66f70e285d6d36ec23fc793e
Vendor Advisory
- git.kernel.org/stable/c/b02d4b00ebba5739d5c35b82206b53de18ebe464
Vendor Advisory
- git.kernel.org/stable/c/fcbfa99aa657627528b75e7dc1023bcb0b84e558
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-139297
NVD
- github.com/advisories/GHSA-qhgg-m4wf-q2jh
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139297 is bpf: Don't let an extension reach further into the context than its target, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139297. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139297. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.