What’s Vulnerable › Vulnerabilities

CVE-2021-47313: cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.12.19, 5.13.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47313 or the next vulnerability affects your stack