CVE-2026-53121

amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()

State
Published
Severity
Not scored
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec to before 539aabbab190825c77eb455ec35652cb3720625fAffected
  • f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec to before 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8bAffected
  • f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec to before beda3b363546a423e4e29a7395e04c0ac4ff677eAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.