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
Affected Vendors & Products
References
History
Mon, 04 Nov 2024 12:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-04-10T18:56:38.347Z
Updated: 2024-11-04T12:01:29.961Z
Reserved: 2024-03-25T09:12:14.117Z
Link: CVE-2021-47205
Vulnrichment
Updated: 2024-08-04T05:32:07.375Z
NVD
Status : Awaiting Analysis
Published: 2024-04-10T19:15:48.310
Modified: 2024-04-10T19:49:51.183
Link: CVE-2021-47205
Redhat