{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-40909","published":"2024-07-12T13:15:14.137000Z","last_modified":"2026-10-30T13:17:29.717000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.6.26","version_end_excluding":"6.6.35"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.9","version_end_excluding":"6.9.6"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.10"},{"criteria":"cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"6.10"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00317,"percentile":0.17038,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-40909/","html_en":"/en/cve/CVE-2024-40909/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-40909","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-40909"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix a potential use-after-free in bpf_link_free()\n\nAfter commit 1a80dbcb2dba, bpf_link can be freed by\nlink->ops->dealloc_deferred, but the code still tests and uses\nlink->ops->dealloc afterward, which leads to a use-after-free as\nreported by syzbot. Actually, one of them should be sufficient, so\njust call one of them instead of both. Also add a WARN_ON() in case\nof any problematic implementation.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/2884dc7d08d98a89d8d65121524bb7533183a63a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/91cff53136daeff50816b0baeafd38a6976f6209","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e8ccda39b395169622855607085cdeef4d376e0f","tags":[]},{"url":"https://git.kernel.org/stable/c/fa97b8fed9896f1e89cb657513e483a152d4c382","tags":["Patch"]}]}}