CVE-2026-139635: Linux kernel · bpf: Keep target extended until its last freplace link detaches
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in c43c348a84460b003fa757dd43d8c89848ae220d : update Linux kernel when convenient.
Data as of 30 Nov 2026, 14:00 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in c43c348a84460b003fa757dd43d8c89848ae220d, 6403c2d2503edda61c24b75b178b62b558232a59, 0743d6510161be50143e52cb91fccd4868f7f048 +4
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– |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Keep target extended until its last freplace link detaches The is_extended / prog_array_member_cnt protocol introduced by commit d6083f040d5d ("bpf: Prevent tailcall infinite loop caused by freplace") keeps a prog extended by a freplace program out of prog_array maps, and vice versa: once a tail call re-enters an extended subprogram, its tail_call_cnt resets on every execution and the loop never terminates. But is_extended is a plain boolean, while one target prog can carry several freplace links at the same time, one on its entry and one on a global subprogram. __bpf_trampoline_unlink_prog() cleared is_extended whenever *any* freplace link detached, so detaching one of two links re-armed the unbounded loop through the remaining one. Replace the is_extended boolean with a count of the freplace links attached to each target prog, so the target stays extended until its last link detaches. Also rename bpf_freplace_check_tgt_prog() to bpf_freplace_link_tgt_prog(), as the helper has never been a pure check: it reserves the target prog on success.
References
- git.kernel.org/stable/c/49e6b0de165005abfbd167ba5e62076a4898b85e (opens in a new tab)
- git.kernel.org/stable/c/0743d6510161be50143e52cb91fccd4868f7f048 (opens in a new tab)
- git.kernel.org/stable/c/6403c2d2503edda61c24b75b178b62b558232a59 (opens in a new tab)
- git.kernel.org/stable/c/c43c348a84460b003fa757dd43d8c89848ae220d (opens in a new tab)