{"id":"CVE-2026-45951","aliases":["CVE-2026-45951"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix a potential use-after-free of BTF object","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","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)","source":"cvelist"}],"published":"2026-05-27T12:18:07.255Z","modified":"2026-08-05T12:28:53.157Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"76145f7255326761dafb76721a785799d8a00d5f","fixed":"eac65c272f3b49021a843cba5107d63627395e0e","status":"affected"},{"type":"git","introduced":"76145f7255326761dafb76721a785799d8a00d5f","fixed":"9ff46ffeecdb1802d6e26183177935b948a12e7f","status":"affected"},{"type":"git","introduced":"76145f7255326761dafb76721a785799d8a00d5f","fixed":"ccd2d799ed4467c07f5ee18c2f5c59bcc990822c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.14","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.14","fixed":"6.18.14"},{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/eac65c272f3b49021a843cba5107d63627395e0e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ff46ffeecdb1802d6e26183177935b948a12e7f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ccd2d799ed4467c07f5ee18c2f5c59bcc990822c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-45951","url":"https://www.cve.org/CVERecord?id=CVE-2026-45951","licence":"CVE Terms of Use","modified":"2026-08-05T12:28:53.157Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-45951","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45951","licence":"Public domain","modified":"2026-06-17T10:52:47.033Z"}],"updatedAt":"2026-11-25T22:59:22.518Z","epss":{"score":0.00124,"percentile":0.02289,"date":"2026-12-01T12:00:22.000Z"}}