Vulnerability CVE-2021-47313


Published: 2024-05-21

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.

 References:
https://git.kernel.org/stable/c/b775383355755885b19d2acef977f1ca132e80a3
https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2
https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b

Copyright 2026, cxsecurity.com

 

Back to Top