{"id":"CVE-2021-47313","aliases":["CVE-2021-47313"],"related":[],"kind":"vulnerability","state":"published","title":"cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init\n\nIt's a classic example of memleak, we allocate something, we fail and\nnever free the resources.\n\nMake sure we free all resources on policy ->init() failures.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init\n\nIt's a classic example of memleak, we allocate something, we fail and\nnever free the resources.\n\nMake sure we free all resources on policy ->init() failures.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: cpufreq: CPPC: arregla potencial memleak en cppc_cpufreq_cpu_init Es un ejemplo clásico de memleak, asignamos algo, fallamos y nunca liberamos los recursos. Asegúrese de liberar todos los recursos en fallos de política -&gt;init().","source":"nvd"}],"published":"2024-05-21T14:35:30.607Z","modified":"2026-06-17T04:17:10.253Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"git","introduced":"a28b2bfc099c6b9caa6ef697660408e076a32019","fixed":"b775383355755885b19d2acef977f1ca132e80a3","status":"affected"},{"type":"git","introduced":"a28b2bfc099c6b9caa6ef697660408e076a32019","fixed":"e1b2b2b61d30d7ce057ec17237c217d152ed97f2","status":"affected"},{"type":"git","introduced":"a28b2bfc099c6b9caa6ef697660408e076a32019","fixed":"fe2535a44904a77615a3af8e8fd7dafb98fb0e1b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.12.19","lastAffected":"5.12.*","status":"unaffected"},{"type":"semver","introduced":"5.13.4","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"a28b2bfc099c","fixed":"b77538335575","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"a28b2bfc099c","fixed":"e1b2b2b61d30","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"a28b2bfc099c","fixed":"fe2535a44904","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.11","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.12.19","lastAffected":"5.13","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.13.4","lastAffected":"5.14","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.14","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.12.19"},{"status":"affected","introduced":"5.13","fixed":"5.13.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b775383355755885b19d2acef977f1ca132e80a3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-06-06T16:12:17.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47313","url":"https://www.cve.org/CVERecord?id=CVE-2021-47313","licence":"CVE Terms of Use","modified":"2026-05-11T13:52:04.820Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47313","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47313","licence":"Public domain","modified":"2026-06-17T04:17:10.253Z"}],"updatedAt":"2026-11-25T22:58:08.791Z","epss":{"score":0.00258,"percentile":0.18595,"date":"2026-12-01T12:00:22.000Z"}}