CVE-2024-40997: cpufreq: amd-pstate: fix memory leak on CPU EPP exit
Vulnerability summary
CVE-2024-40997 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 18.9% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 19 · Related 15Timeline
- 12-07-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: fix memory leak on CPU EPP exit The cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is not freed in the analogous exit function, so fix that. [ rjw: Subject and changelog edits ]
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu92 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)
Linux2 products
- linux≥ ffa5096a7c338641f70fb06d4778e8cf400181a8, < 448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd | ≥ ffa5096a7c338641f70fb06d4778e8cf400181a8, < 8015c17fe11a8608cc3eb83d0ab831e1845a9582 | ≥ ffa5096a7c338641f70fb06d4778e8cf400181a8, < cea04f3d9aeebda9d9c063c0dfa71e739c322c81 | 6.3
- linux_kernel< 6.6.36 | ≥ 6.7, < 6.9.7
Debian1 product
- linux< 6.9.7-1
3 vendors · 95 products