What’s Vulnerable › Vulnerabilities

CVE-2026-45951: bpf: Fix a potential use-after-free of BTF object

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

How to fix

Upgrade to a fixed version: Linux kernel 6.18.14, 6.19.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45951 or the next vulnerability affects your stack