CVE-2026-139302: Linux kernel · bpf: Don't take an extension for an iterator program
Source GCVE Database
Not known to be exploited · fixed in e8b7f9151e465c4ab5e712f84041b0cf3b90425b : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in e8b7f9151e465c4ab5e712f84041b0cf3b90425b, d7a76b9b807349c3057beccd574fcd0aec2c773b, b741414a94a7196454456ea46e5e08798e98d252 +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't take an extension for an iterator program An extension inherits the expected_attach_type of the program it extends. If that is BPF_TRACE_ITER, check_attach_btf_id() hands the extension to bpf_iter_prog_supported(), which goes by the name of the attach function. For an extension that is the name of the subprogram it replaces, so the load fails with -EINVAL, unless that subprogram is called like the function of a target, bpf_iter_bpf_map_elem for example. Then the extension gets the context of that target. If the subprogram has as many arguments, it can use the key and the value as buffers, but how far it reaches is noted in the extension, where the test of the iterator link does not look: it reads and writes behind the elements of the map. And the id of the subprogram in the BTF of the program is cached as the id of the target, so that programs of that target which are loaded already cannot be attached. Refuse all extensions here.
References
- nvd.nist.gov/vuln/detail/CVE-2026-139302 (opens in a new tab)
- git.kernel.org/stable/c/061c4649fa49ed80e3f3ac872665230cb6fa898c (opens in a new tab)
- git.kernel.org/stable/c/1b79f322cbfb59d920b102a18efdd14f17e3d5ad (opens in a new tab)
- git.kernel.org/stable/c/46a8a2acca26616f8445af133f32d7740332fdc0 (opens in a new tab)
- git.kernel.org/stable/c/7cc639dc45c5d3b69acb2a2fc834e9eec51e0214 (opens in a new tab)
- git.kernel.org/stable/c/afd54a08a29406fb3d8ea8e828bdb5d1e4862088 (opens in a new tab)
- git.kernel.org/stable/c/b741414a94a7196454456ea46e5e08798e98d252 (opens in a new tab)
- git.kernel.org/stable/c/d7a76b9b807349c3057beccd574fcd0aec2c773b (opens in a new tab)
- git.kernel.org/stable/c/e8b7f9151e465c4ab5e712f84041b0cf3b90425b (opens in a new tab)