7.8

CVE-2024-40909: linux Use After Free

CVSS: 7.8v3.1HighModified
AliasesSUSE-SU-2024:3322-1SUSE-SU-2024:3387-1SUSE-SU-2024:3398-1
Published 12-07-2024Last modified 05-08-2026

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 43 · Related 43

Timeline

  1. 12-07-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.28%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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

References

19 links
Show all 19 references