What’s Vulnerable › Vulnerabilities
CVE-2026-53121: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-24 · updated 2026-07-23
- Weakness: CWE-401
Description
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 products
- Linux kernel: from 6.14 before 6.18.33; from 6.19 before 7.0.10 — fixed in 6.18.33, 7.0.10
How to fix
Upgrade to a fixed version: Linux kernel 6.18.33, 7.0.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/539aabbab190825c77eb455ec35652cb3720625f
- https://git.kernel.org/stable/c/7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b
- https://git.kernel.org/stable/c/beda3b363546a423e4e29a7395e04c0ac4ff677e
Get alerted when CVE-2026-53121 or the next vulnerability affects your stack