CVE-2024-40909: linux Use After Free
Vulnerability summary
CVE-2024-40909 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 43 · Related 43Timeline
- 12-07-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a potential use-after-free in bpf_link_free() After commit 1a80dbcb2dba, bpf_link can be freed by link->ops->dealloc_deferred, but the code still tests and uses link->ops->dealloc afterward, which leads to a use-after-free as reported by syzbot. Actually, one of them should be sufficient, so just call one of them instead of both. Also add a WARN_ON() in case of any problematic implementation.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
0.00 pp
From 0.28% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu84 products
- linux< 6.8.0-44.44
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1015.16
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Suse3 products
- kernel-livepatch-SLE15-SP6_Update_2&distro=SUSE Linux Enterprise Live Patching 15 SP6< 2-150600.13.6.3
- kernel-livepatch-SLE15-SP6_Update_3&distro=SUSE Linux Enterprise Live Patching 15 SP6< 2-150600.13.6.3
- kernel-livepatch-SLE15-SP6-RT_Update_1&distro=SUSE Linux Enterprise Live Patching 15 SP6< 2-150600.1.8.1
Linux2 products
- linux≥ 876941f533e7b47fc69977fc4551c02f2d18af97, < 91cff53136daeff50816b0baeafd38a6976f6209 | ≥ 1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce, < fa97b8fed9896f1e89cb657513e483a152d4c382 | ≥ 1a80dbcb2dbaf6e4c216e62e30fa7d3daa8001ce, < 2884dc7d08d98a89d8d65121524bb7533183a63a | 5d8d447777564b35f67000e7838e7ccb64d525c8 | ≥ 6.6.26, < 6.6.35 | ≥ 6.8.5, < 6.9 | 6.9
- linux_kernel≥ 6.6.26, < 6.6.35 | ≥ 6.9, < 6.9.6 | 6.10:rc1 | 6.10:rc2
Debian1 product
- linux< 6.9.7-1
Opensuse1 product
- klp-build&distro=openSUSE Tumbleweed< 0~20240812.ad9f0e0-1.1
5 vendors · 91 products