CVE-2024-40997Published Jul 12, 2024 · Jul 12Updated Oct 28
cpufreq: amd-pstate: fix memory leak on CPU EPP exit
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.366.9.76.10In 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 ]
From the CVE record · Linux
The Linux kernel's amd-pstate CPU EPP exit path does not free memory allocated during initialization, causing a memory leak. The input does not establish how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected amd-pstate code; affected versions are not specified.