CVE-2021-47313

cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init

HIGH
8.4
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 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
HIGH8.4
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init It's a classic example of memleak, we allocate something, we fail and never free the resources. Make sure we free all resources on policy ->init() failures.

Affected

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

5.11 ≤ v < 5.12.195.11 ≤ v < 5.13.45.11 ≤ v < 5.145.13 ≤ v < 5.13.45.11a28b2bfc099ca28b2bfc099c6b9caa6ef697660408e076a32019
Vendor states this is fixed in b77538335575 (fixed)
Vendor states this is fixed in b775383355755885b19d2acef977f1ca132e80a3 (fixed)
Vendor states this is fixed in e1b2b2b61d30 (fixed)
Vendor states this is fixed in e1b2b2b61d30d7ce057ec17237c217d152ed97f2 (fixed)
Vendor states this is fixed in fe2535a44904 (fixed)
Vendor states this is fixed in fe2535a44904a77615a3af8e8fd7dafb98fb0e1b (fixed)
Vendor states this is fixed in 5.11 (unaffected)
Vendor states this is fixed in 5.12.19 (unaffected)
Vendor states this is fixed in 5.13.4 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b775383355755885b19d2acef977f1ca132e80a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

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

CVSS

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

Quick Info

StatusANALYZED
CWE
CWE-400

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