---
id: CVE-2026-53121
title: 'amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()'
summary: |-
  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 t…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <
    539aabbab190825c77eb455ec35652cb3720625f
  - >-
    Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <
    7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b
  - >-
    Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec <
    beda3b363546a423e4e29a7395e04c0ac4ff677e
  - Linux 6.14
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-06T16:19:50.460172Z'
published: '2026-06-24'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T16:24:02.557Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-53121'
references:
  - url: 'https://git.kernel.org/stable/c/539aabbab190825c77eb455ec35652cb3720625f'
  - url: 'https://git.kernel.org/stable/c/7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b'
  - url: 'https://git.kernel.org/stable/c/beda3b363546a423e4e29a7395e04c0ac4ff677e'
tags:
  - cve.org
epss: 0.0016
epssPercentile: 0.05212
ingestedAt: '2026-11-06T16:57:43.287Z'
---

## Overview

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

- `Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec < 539aabbab190825c77eb455ec35652cb3720625f`
- `Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec < 7f9aa2359742eaa6ea65ec0d20dafdfd0add9b8b`
- `Linux >= f9a378ff6443cdcd4387e5dbb76fa5fa549a83ec < beda3b363546a423e4e29a7395e04c0ac4ff677e`
- `Linux 6.14`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
