In the Linux kernel, the following vulnerability has been resolved: bpf, lsm: Reject writes into the BPF LSM program context The verifier…
CVE-2026-139661
In the Linux kernel, the following vulnerability has been resolved: bpf, lsm: Reject writes into the BPF LSM program context The verifier types a load from a tracing-style context by its offset alone: btfctxaccess() looks the offset up in the attach hook's prototype, and checkmemaccess() stamps the resulting type onto the destination register. Nothing tracks what the slot actually holds. That is sound only as long as the context is read-only, and for BPF LSM it is not. lsmverifierops wires ->isvalidaccess() straight to btfctxaccess(), which never looks at enum bpfaccesstype, so a store into the context passes verification. Every other user of the helper either goes through bpftracingbtfctxaccess() or open-codes the same type != BPFREAD test first; BPF LSM is the only one that does neither. A program can therefore store a scalar of its choosing into a context slot, read the slot back, and get a register the verifier believes is a trusted pointer of the hook's argument type. Handing that to a kfunc or helper which dereferences a trusted argument turns it into an arbitrary kernel access. Route BPF LSM through bpftracingbtfctxaccess() like everyone else.
Assessment
- CVSS
- 0
- Severity
- Unscored
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/23fd50ed3ae8ff501e90db8b253ee05992a0b563
- https://git.kernel.org/stable/c/63fa671681dc8f10d1f21032bc6da1c3398c782b
- https://git.kernel.org/stable/c/6b810a303806b3a48c0d8cec99468956d15b8069
- https://git.kernel.org/stable/c/ab9f32e30ac4087a72070d8cc33809c02797e8ef
- https://git.kernel.org/stable/c/ad74f678b76e9460193afc1683ba50ae5d2f6400
- https://git.kernel.org/stable/c/c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1
- https://git.kernel.org/stable/c/d37ac6eda751255a96a46737abbb526ada2a1017
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139661