CVE-2024-40997

published 12 Jul 2024 · updated 11 May 2026

cpufreq: amd-pstate: fix memory leak on CPU EPP exit

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd, Kernel 8015c17fe11a8608cc3eb83d0ab831e1845a9582 and Kernel cea04f3d9aeebda9d9c063c0dfa71e739c322c81.

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 ]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.3, >=ffa5096a7c338641f70fb06d4778e8cf400181a8 <448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd, >=ffa5096a7c338641f70fb06d4778e8cf400181a8 <8015c17fe11a8608cc3eb83d0ab831e1845a9582, >=ffa5096a7c338641f70fb06d4778e8cf400181a8 <cea04f3d9aeebda9d9c063c0dfa71e739c322c81448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd, 8015c17fe11a8608cc3eb83d0ab831e1845a9582, cea04f3d9aeebda9d9c063c0dfa71e739c322c81

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-40997 severity on Zeptric[![CVE-2024-40997](https://zeptric.io/badge/cve/CVE-2024-40997.svg)](https://zeptric.io/cve/CVE-2024-40997)