CVE-2021-47313

published 21 May 2024 · updated 11 May 2026

cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b775383355755885b19d2acef977f1ca132e80a3, Kernel e1b2b2b61d30d7ce057ec17237c217d152ed97f2 and Kernel fe2535a44904a77615a3af8e8fd7dafb98fb0e1b.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <b775383355755885b19d2acef977f1ca132e80a3, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <e1b2b2b61d30d7ce057ec17237c217d152ed97f2, >=a28b2bfc099c6b9caa6ef697660408e076a32019 <fe2535a44904a77615a3af8e8fd7dafb98fb0e1bb775383355755885b19d2acef977f1ca132e80a3, e1b2b2b61d30d7ce057ec17237c217d152ed97f2, fe2535a44904a77615a3af8e8fd7dafb98fb0e1b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47313 severity on Zeptric[![CVE-2021-47313](https://zeptric.io/badge/cve/CVE-2021-47313.svg)](https://zeptric.io/cve/CVE-2021-47313)