CVE Database›Document archive›CVE-2021-47313

CVE-2021-47313

kernel: cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init

Loading…

Severity

Low

Red Hat Product Security

6.1

CVSS 3.1

Review impact separately from score.

Published · May 21, 2024

Updated · August 25, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L

CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')