Bug 2492392 (CVE-2026-53121) - CVE-2026-53121 kernel: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
Summary: CVE-2026-53121 kernel: amd-pstate: Fix memory leak in amd_pstate_epp_cpu_init()
Keywords:
Status: NEW
Alias: CVE-2026-53121
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:09 UTC by OSIDB Bzimport
Modified: 2026-06-26 15:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:09:34 UTC
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).

Comment 1 Mauro Matteo Cascella 2026-06-26 15:05:42 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062416-CVE-2026-53121-f105@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.