CVE-2021-47313
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 8.4 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-400 · Uncontrolled resource consumption
- Record status
- Analyzed
Affected
- Linux Kernel < 5.12.19
- Linux Kernel < 5.13.4
Attack profile CVSS 3.1 · 8.4
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47313.md and follow it. Check whether this project is affected by CVE-2021-47313. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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/stable/c/b775383355755885b19d2acef977f1ca132e80a3
- https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2
- https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b
References
- 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/stable/c/b775383355755885b19d2acef977f1ca132e80a3
- https://git.kernel.org/stable/c/e1b2b2b61d30d7ce057ec17237c217d152ed97f2
- https://git.kernel.org/stable/c/fe2535a44904a77615a3af8e8fd7dafb98fb0e1b