CVE-2026-139628: Linux kernel · bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.3 Medium.
Data as of 2 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation 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 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix has been implemented that correctly adjusts the bpf_func pointer by subtracting the CFI offset before freeing memory in bpf_jit_free(). Users should apply the updated Linux kernel versions that include this fix. No additional mitigation steps are indicated.
Description
A vulnerability in the Linux kernel's BPF JIT compiler on RISC-V architectures causes an invalid memory free due to incorrect handling of the CFI offset during bpf_jit_free(). This occurs when CFI is enabled, shifting the BPF program entry point and leading to freeing the wrong memory address. The issue has been resolved by adjusting the bpf_func pointer to correctly restore the original JITed allocation address before freeing.
References
- ubuntu.com/security/CVE-2026-139628 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139628 (opens in a new tab)
- git.kernel.org/stable/c/6d256cd19d8c9fe49ece8a398ff78e55719626ee (opens in a new tab)
- git.kernel.org/stable/c/bc6c4dc3d16d64bd51fa9e8629e0db199bf857be (opens in a new tab)
- git.kernel.org/stable/c/b31fef1d42ddcce4670e172eb9a381fcddbd051c (opens in a new tab)
- git.kernel.org/stable/c/93df8ae3267f19bf0c1135d26a0e21145dd0ea1c (opens in a new tab)