CVE-2021-47205
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/04/2024
Last modified:
03/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
clk: sunxi-ng: Unregister clocks/resets when unbinding<br />
<br />
Currently, unbinding a CCU driver unmaps the device&#39;s MMIO region, while<br />
leaving its clocks/resets and their providers registered. This can cause<br />
a page fault later when some clock operation tries to perform MMIO. Fix<br />
this by separating the CCU initialization from the memory allocation,<br />
and then using a devres callback to unregister the clocks and resets.<br />
<br />
This also fixes a memory leak of the `struct ccu_reset`, and uses the<br />
correct owner (the specific platform driver) for the clocks and resets.<br />
<br />
Early OF clock providers are never unregistered, and limited error<br />
handling is possible, so they are mostly unchanged. The error reporting<br />
is made more consistent by moving the message inside of_sunxi_ccu_probe.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.5 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



