CVE-2026-45951

Source
https://cve.org/CVERecord?id=CVE-2026-45951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45951
Downstream
Published
2026-05-27T12:18:07.255Z
Modified
2026-07-08T08:09:40.325784473Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
bpf: Fix a potential use-after-free of BTF object
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Refcounting in the checkpseudobtf_id() function is incorrect: the _checkpseudobtfid() 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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45951.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
76145f7255326761dafb76721a785799d8a00d5f
Fixed
eac65c272f3b49021a843cba5107d63627395e0e
Fixed
9ff46ffeecdb1802d6e26183177935b948a12e7f
Fixed
ccd2d799ed4467c07f5ee18c2f5c59bcc990822c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45951.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45951.json"