What’s Vulnerable › Vulnerabilities
CVE-2026-45951: bpf: Fix a potential use-after-free of BTF object
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-17
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a potential use-after-free of BTF object Refcounting in the check_pseudo_btf_id() function is incorrect: the __check_pseudo_btf_id() function might get called with a zero refcounted btf. Fix this, and patch related code accordingly. v3: rephrase a comment (AI) v2: fix a refcount leak introduced in v1 (AI)
Affected products
- Linux kernel: from 6.14 before 6.18.14; from 6.19 before 6.19.4 — fixed in 6.18.14, 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.18.14, 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9ff46ffeecdb1802d6e26183177935b948a12e7f
- https://git.kernel.org/stable/c/ccd2d799ed4467c07f5ee18c2f5c59bcc990822c
- https://git.kernel.org/stable/c/eac65c272f3b49021a843cba5107d63627395e0e
Get alerted when CVE-2026-45951 or the next vulnerability affects your stack