Vendors › Linux

CVE-2024-40909

High (7.8) EPSS 0.3% Linux · bpf

Linux kernel: bpf: Fix a potential use-after-free in bpf_link_free()

A kernel vulnerability in the bpf code (kernel/bpf/syscall.c), assigned CVE-2024-40909: bpf: Fix a potential use-after-free in bpf_link_free(). Introduced in kernel 6.6.26; Fixed in 6.6.35 / 6.9.6 / 6.10.

Published2024-07-12
Updated2024-07-12
AffectedLinux kernel 6.6.26 and later, before the fix (fixed in 6.6.35 / 6.9.6 / 6.10)
FixUpdate to kernel 6.6.35 / 6.9.6 / 6.10 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2024-40909

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-40909———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.