CVE-2024-40997 Details
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 ]
A memory leak vulnerability has been identified in the Linux kernel's cpufreq subsystem, specifically within the amd-pstate driver. The issue arises because the cpudata memory allocated with kzalloc() in the function amd_pstate_epp_cpu_init() is not properly freed when exiting, leading to a memory leak. This vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. The patch can be downloaded from the Linux kernel Git repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582 | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81 | CVE | Mailing ListPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.6.36 >= 6.7, < 6.9.7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 21, 2024 | Initial Analysis | [email protected] |
| Jul 12, 2024 | New CVE Received | kernel.org |