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… (CVE-2026-53121)
A memory leak vulnerability was identified and resolved in the Linux kernel's amd-pstate driver. The issue occurs in the function amd_pstate_epp_cpu_init() where, upon failure to set the energy performance preference (epp), the allocated cpudata object is not freed, causing a memory leak. This flaw does not impact confidentiality or integrity but affects availability due to resource leakage. The vulnerability has been fixed by ensuring the cpudata object is freed before the function returns on error.
AI Analysis
Technical Summary
The Linux kernel's amd-pstate driver contained a memory leak in the amd_pstate_epp_cpu_init() function. Specifically, when setting the energy performance preference (epp) fails, the function returns an error without freeing the cpudata object allocated at the start. This results in a memory leak (CWE-401). The issue was discovered through AI-assisted code review and has been resolved by adding proper cleanup before returning on failure.
Potential Impact
This vulnerability causes a memory leak in the Linux kernel's amd-pstate driver, which can degrade system availability over time due to unreleased memory. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented to free the allocated cpudata object on failure in amd_pstate_epp_cpu_init(). Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel repositories for the specific patch and update guidance.
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… (CVE-2026-53121)
Description
A memory leak vulnerability was identified and resolved in the Linux kernel's amd-pstate driver. The issue occurs in the function amd_pstate_epp_cpu_init() where, upon failure to set the energy performance preference (epp), the allocated cpudata object is not freed, causing a memory leak. This flaw does not impact confidentiality or integrity but affects availability due to resource leakage. The vulnerability has been fixed by ensuring the cpudata object is freed before the function returns on error.
CVSS v3.1
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's amd-pstate driver contained a memory leak in the amd_pstate_epp_cpu_init() function. Specifically, when setting the energy performance preference (epp) fails, the function returns an error without freeing the cpudata object allocated at the start. This results in a memory leak (CWE-401). The issue was discovered through AI-assisted code review and has been resolved by adding proper cleanup before returning on failure.
Potential Impact
This vulnerability causes a memory leak in the Linux kernel's amd-pstate driver, which can degrade system availability over time due to unreleased memory. There is no impact on confidentiality or integrity. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented to free the allocated cpudata object on failure in amd_pstate_epp_cpu_init(). Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel repositories for the specific patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h8rj-w8q4-6g6r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53121"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a629b119c2644c7f8d86568
Added to database: 07/23/2026, 22:52:01 UTC
Last enriched: 07/23/2026, 22:54:41 UTC
Last updated: 07/27/2026, 08:52:02 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.