CVE-2026-139661: Linux kernel · bpf, lsm: Reject writes into the BPF LSM program context
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.4 High.
Data as of 2 Dec 2026, 18:37 UTC
Thin evidence
One scorer or none- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/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
The vulnerability has been resolved by routing BPF LSM through the proper access checking function bpf_tracing_btf_ctx_access(). Users should apply the official Linux kernel patches that fix this issue. Since specific fixed versions are not provided in the input, verify with the vendor or Linux kernel maintainers for the appropriate patched kernel versions and upgrade accordingly. No alternative mitigations or workarounds are indicated.
Description
CVE-2026-139661 is a high-severity vulnerability in the Linux kernel's BPF LSM (Linux Security Module) subsystem. It arises because the verifier incorrectly allows writes into the BPF LSM program context, which should be read-only. This flaw enables a program to store arbitrary scalar values into context slots and later read them back as trusted pointers, potentially leading to arbitrary kernel memory access. The issue is due to the BPF LSM verifier not properly checking access types during verification, unlike other BPF users. This vulnerability affects specific Linux kernel versions and has a CVSS 4.0 score of 8.4, indicating a significant risk if exploited.
References
- ubuntu.com/security/CVE-2026-139661 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-139661 (opens in a new tab)
- git.kernel.org/stable/c/6b810a303806b3a48c0d8cec99468956d15b8069 (opens in a new tab)
- git.kernel.org/stable/c/23fd50ed3ae8ff501e90db8b253ee05992a0b563 (opens in a new tab)
- git.kernel.org/stable/c/63fa671681dc8f10d1f21032bc6da1c3398c782b (opens in a new tab)
- git.kernel.org/stable/c/ab9f32e30ac4087a72070d8cc33809c02797e8ef (opens in a new tab)
- git.kernel.org/stable/c/d37ac6eda751255a96a46737abbb526ada2a1017 (opens in a new tab)
- git.kernel.org/stable/c/ad74f678b76e9460193afc1683ba50ae5d2f6400 (opens in a new tab)
- git.kernel.org/stable/c/c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1 (opens in a new tab)