Skip to main content
VulnerabilityPublished

CVE-2026-139661: Linux kernel · bpf, lsm: Reject writes into the BPF LSM program context

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in d37ac6eda751255a96a46737abbb526ada2a1017 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in d37ac6eda751255a96a46737abbb526ada2a1017, c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1, ad74f678b76e9460193afc1683ba50ae5d2f6400 +4

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < d37ac6eda751255a96a46737abbb526ada2a1017
Fixed in
  • d37ac6eda751255a96a46737abbb526ada2a1017
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1
Fixed in
  • c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < ad74f678b76e9460193afc1683ba50ae5d2f6400
Fixed in
  • ad74f678b76e9460193afc1683ba50ae5d2f6400
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < ab9f32e30ac4087a72070d8cc33809c02797e8ef
Fixed in
  • ab9f32e30ac4087a72070d8cc33809c02797e8ef
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < 63fa671681dc8f10d1f21032bc6da1c3398c782b
Fixed in
  • 63fa671681dc8f10d1f21032bc6da1c3398c782b
LinuxLinuxAffected
  • ≥ fc611f47f2188ade2b48ff6902d5cce8baac0c58, < 23fd50ed3ae8ff501e90db8b253ee05992a0b563
Fixed in
  • 23fd50ed3ae8ff501e90db8b253ee05992a0b563

Description

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: btf_ctx_access() looks the offset up in the attach hook's prototype, and check_mem_access() 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. lsm_verifier_ops wires ->is_valid_access() straight to btf_ctx_access(), which never looks at enum bpf_access_type, so a store into the context passes verification. Every other user of the helper either goes through bpf_tracing_btf_ctx_access() or open-codes the same type != BPF_READ 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 bpf_tracing_btf_ctx_access() like everyone else.

References

Community reviews

Loading reviews…