CVE-2026-45951

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

HIGH
7.8
CVSS Score
Published: May 27, 2026 at 12:18 PM UTC
Updated: August 5, 2026 at 01:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.14 ≤ v < 6.18.146.14 ≤ v < 6.19.46.14 ≤ v < 7.06.19 ≤ v < 6.19.46.1476145f7255326761dafb76721a785799d8a00d5f
Vendor states this is fixed in 9ff46ffeecdb1802d6e26183177935b948a12e7f (fixed)
Vendor states this is fixed in ccd2d799ed4467c07f5ee18c2f5c59bcc990822c (fixed)
Vendor states this is fixed in eac65c272f3b49021a843cba5107d63627395e0e (fixed)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card