CVE-2024-40997

cpufreq: amd-pstate: fix memory leak on CPU EPP exit

MEDIUM
5.5
CVSS Score
Published: July 12, 2024 at 12:37 PM UTC
Updated: June 17, 2026 at 07:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: fix memory leak on CPU EPP exit The cpudata memory from kzalloc() in amd_pstate_epp_cpu_init() is not freed in the analogous exit function, so fix that. [ rjw: Subject and changelog edits ]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.366.3 ≤ v < 6.106.3 ≤ v < 6.6.366.3 ≤ v < 6.9.76.7 ≤ v < 6.9.76.3ffa5096a7c338641f70fb06d4778e8cf400181a8
Vendor states this is fixed in 448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd (fixed)
Vendor states this is fixed in 8015c17fe11a8608cc3eb83d0ab831e1845a9582 (fixed)
Vendor states this is fixed in cea04f3d9aeebda9d9c063c0dfa71e739c322c81 (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)
Vendor states this is fixed in 6.6.36 (unaffected)
Vendor states this is fixed in 6.9.7 (unaffected)

References (3)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/448efb7ea0bfa2c4e27c5a2eb5684fd225cd12cd
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8015c17fe11a8608cc3eb83d0ab831e1845a9582
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cea04f3d9aeebda9d9c063c0dfa71e739c322c81

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card