CVE-2021-47205
Last modified
CVE-2021-47205 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: clk: sunxi-ng: Unregister clocks/resets when unbinding Currently, unbinding a CCU driver unmaps the device's MMIO region, while leaving its clocks/resets and their providers registered. This can cause a page fault later when some clock operation tries to perform MMIO. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: clk: sunxi-ng: Unregister clocks/resets when unbinding Currently, unbinding a CCU driver unmaps the device's MMIO region, while leaving its clocks/resets and their providers registered. This can cause a page fault later when some clock operation tries to perform MMIO. Fix this by separating the CCU initialization from the memory allocation, and then using a devres callback to unregister the clocks and resets. This also fixes a memory leak of the `struct ccu_reset`, and uses the correct owner (the specific platform driver) for the clocks and resets. Early OF clock providers are never unregistered, and limited error handling is possible, so they are mostly unchanged. The error reporting is made more consistent by moving the message inside of_sunxi_ccu_probe.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.15.5 |
References
- https://git.kernel.org/stable/c/9bec2b9c6134052994115d2d3374e96f2ccb9b9dMailing List, Patch
- https://git.kernel.org/stable/c/b5dd513daa70ee8f6d281a20bd28485ee9bb7db2Mailing List, Patch
- https://git.kernel.org/stable/c/9bec2b9c6134052994115d2d3374e96f2ccb9b9dMailing List, Patch
- https://git.kernel.org/stable/c/b5dd513daa70ee8f6d281a20bd28485ee9bb7db2Mailing List, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-47205?
How severe is CVE-2021-47205?
How do I fix CVE-2021-47205?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-47199In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47200In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47201In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47202In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47203In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47204In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47206In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47207In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47208The Mojolicious module before 9.11 for Perl has a bug in for…4.3
- CVE-2021-47209In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47210In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47211In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47205?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
