CVE-2026-139628: Linux kernel · bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv
Source GCVE Database
Not known to be exploited · fixed in bc6c4dc3d16d64bd51fa9e8629e0db199bf857be : 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 bc6c4dc3d16d64bd51fa9e8629e0db199bf857be, b31fef1d42ddcce4670e172eb9a381fcddbd051c, 93df8ae3267f19bf0c1135d26a0e21145dd0ea1c +1
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 Linux kernel to bc6c4dc3d16d64bd51fa9e8629e0db199bf857be, b31fef1d42ddcce4670e172eb9a381fcddbd051c, 93df8ae3267f19bf0c1135d26a0e21145dd0ea1c or 6d256cd19d8c9fe49ece8a398ff78e55719626ee.
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– |
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv When CFI is enabled, the actual BPF program entry point is shifted forward by a CFI preamble. During bpf_jit_free(), this shifted pointer causes the wrong ro_header to be fetched, leading to a potential invalid memory free. Fix this by subtracting cfi_get_offset() from prog->bpf_func to correctly restore the original JITed allocation address before freeing.
References
- nvd.nist.gov/vuln/detail/CVE-2026-139628 (opens in a new tab)
- git.kernel.org/stable/c/6d256cd19d8c9fe49ece8a398ff78e55719626ee (opens in a new tab)
- git.kernel.org/stable/c/93df8ae3267f19bf0c1135d26a0e21145dd0ea1c (opens in a new tab)
- git.kernel.org/stable/c/b31fef1d42ddcce4670e172eb9a381fcddbd051c (opens in a new tab)
- git.kernel.org/stable/c/bc6c4dc3d16d64bd51fa9e8629e0db199bf857be (opens in a new tab)