amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel beda3b363546a423e4e29a7395e04c0ac4ff677e, Kernel 7.0.10, Kernel 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b and 2 more.
In the Linux kernel, the following vulnerability has been resolved: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init() On failure to set the epp, the function amd_pstate_epp_cpu_init() returns with an error code without freeing the cpudata object that was allocated at the beginning of the function. Ensure that the cpudata object is freed before returning from the function. This memory leak was discovered by Claude Opus 4.6 with the aid of Chris Mason's AI review-prompts (https://github.com/masoncl/review-prompts/tree/main/kernel).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <beda3b363546a423e4e29a7395e04c0ac4ff677e, >=6.19 <7.0.10, >=f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b, >=6.14 <6.18.33, =6.14, >=f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <539aabbab190825c77eb455ec35652cb3720625f | beda3b363546a423e4e29a7395e04c0ac4ff677e, 7.0.10, 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b, 6.18.33, 539aabbab190825c77eb455ec35652cb3720625f |
| linux-kernel: Kernel | >=6.14.0 <6.18.33, >=6.19.0 <7.0.10 | 6.18.33, 7.0.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket