Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139661

published

bpf, lsm: Reject writes into the BPF LSM program context

Published
30 Nov 2026, 13:36:48 UTC
Updated
30 Nov 2026, 13:36:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 6b810a303806b3a48c0d8cec99468956d15b8069 · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 23fd50ed3ae8ff501e90db8b253ee05992a0b563 · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < ad74f678b76e9460193afc1683ba50ae5d2f6400 · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < d37ac6eda751255a96a46737abbb526ada2a1017 · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < ab9f32e30ac4087a72070d8cc33809c02797e8ef · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 63fa671681dc8f10d1f21032bc6da1c3398c782b · fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 6b810a303806b3a48c0d8cec99468956d15b8069 (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 23fd50ed3ae8ff501e90db8b253ee05992a0b563 (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < ad74f678b76e9460193afc1683ba50ae5d2f6400 (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < d37ac6eda751255a96a46737abbb526ada2a1017 (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < ab9f32e30ac4087a72070d8cc33809c02797e8ef (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < 63fa671681dc8f10d1f21032bc6da1c3398c782b (affected · git)fc611f47f2188ade2b48ff6902d5cce8baac0c58 to < c42da1d3ba9d5067cf3f0676b98bcb3f5f9e3ce1 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.7 (affected)0 to < 5.7 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

bpf, lsm: Reject writes into the BPF LSM program context

Provenance

Schema
5.2
Searchable
yes
Content hash
5fe79c7eb04f6ad47296b4380897415a8862c71df2c8d861868d54013514adf2
Ingested
30 Nov 2026, 13:43:49 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected