# CVE-2026-53121: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-24T16:30:51.294Z
- Modified: 2026-11-06T17:18:08.440Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec before 539aabbab190825c77eb455ec35652cb3720625f; from f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec before 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b; from f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec before beda3b363546a423e4e29a7395e04c0ac4ff677e; 6.14 (not affected: before 6.14; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.14 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/539aabbab190825c77eb455ec35652cb3720625f> (patch)
- <https://git.kernel.org/stable/c/7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b> (patch)
- <https://git.kernel.org/stable/c/beda3b363546a423e4e29a7395e04c0ac4ff677e> (patch)

## Sources

- CVE List: [CVE-2026-53121](https://www.cve.org/CVERecord?id=CVE-2026-53121), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53121](https://nvd.nist.gov/vuln/detail/CVE-2026-53121), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53121 · Whole record: https://cve.day/CVE-2026-53121.json · Rebuilt by cve.day 2026-11-25T22:59:25.703Z
