Bugzilla – Bug 1225051
VUL-0: CVE-2021-47313: kernel: cpufreq: CPPC: fix potential memleak in cppc_cpufreq_cpu_init
Last modified: 2024-06-10 12:22:26 UTC
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: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47313 https://www.cve.org/CVERecord?id=CVE-2021-47313 https://git.kernel.org/stable/c/b775383355755885b19d2acef977f1ca132e80a3 https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2 https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2021/CVE-2021-47313.mbox
All done, closing.