CVE-2026-53121

amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()

Published Jun 24, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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).

Analysis

AI-generated

Technical impact

This vulnerability is a memory leak in the Linux kernel’s amd‑pstate driver. When the function amd_pstate_epp_cpu_init() fails to set the Engine Power Profile, it allocates a cpudata structure but does not release it before returning an error. Over repeated failures the unfreed kernel memory can accumulate, potentially exhausting system memory, degrading performance, or even triggering a kernel panic. The official description states this leakage but does not describe an immediate denial of service; the effect is inferred as it could eventually lead to instability.

Affected Systems

All Linux kernel images that contain the amd‑pstate driver code before the commit that implements the free operation are potentially affected. Because no specific version ranges are published, any distribution using a kernel that predates the fix may be vulnerable. Administrators should verify whether their kernel contains the vulnerable code path by checking for the commit hash indicated in the references.

Risk and Exploitability

The CVSS score is 5.5, the EPSS score is < 1%, and KEV is not listed. Exploitation would require use of the EPP interface, but the privilege level needed is not specified in the input; it is inferred that modifying the EPP likely requires elevated privileges such as root or a capability that allows writing to sysfs entries. Coupled with the lack of a remote exploitation vector, the primary risk lies in local or privileged attackers repeatedly invoking the failing path, which could lead to memory exhaustion.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the patch referenced in the commit logs.
  • If an update is not possible, disable the amd‑pstate driver by booting with the kernel parameter "amd_pstate=disable" or removing the module from the system.
  • Restrict access to the EPP interface by adjusting permissions on relevant sysfs entries or enforcing SELinux policies to limit write access to trusted users.

Generated by OpenCVE AI on August 12, 2026 at 07:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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).
Title amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:24 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jun 24, 2026, 5:17 PM
Modified
Nov 6, 2026, 5:18 PM
Severity
Low
Public date
Jun 24, 2026, 12:00 AM