{"id":"CVE-2026-45951","published":"2026-05-27T12:18:07Z","modified":"2026-08-05T12:28:53Z","title":"bpf: Fix a potential use-after-free of BTF object","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix a potential use-after-free of BTF object\n\nRefcounting in the check_pseudo_btf_id() function is incorrect:\nthe __check_pseudo_btf_id() function might get called with a zero\nrefcounted btf. Fix this, and patch related code accordingly.\n\nv3: rephrase a comment (AI)\nv2: fix a refcount leak introduced in v1 (AI)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00124,"percentile":0.02088,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/eac65c272f3b49021a843cba5107d63627395e0e","tags":[]},{"url":"https://git.kernel.org/stable/c/9ff46ffeecdb1802d6e26183177935b948a12e7f","tags":[]},{"url":"https://git.kernel.org/stable/c/ccd2d799ed4467c07f5ee18c2f5c59bcc990822c","tags":[]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.42},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 76145f7255326761dafb76721a785799d8a00d5f, < eac65c272f3b49021a843cba5107d63627395e0e",">= 76145f7255326761dafb76721a785799d8a00d5f, < 9ff46ffeecdb1802d6e26183177935b948a12e7f",">= 76145f7255326761dafb76721a785799d8a00d5f, < ccd2d799ed4467c07f5ee18c2f5c59bcc990822c"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-32235","exploited":false,"provenance":"source"}}