Lucene search

K
debiancveDebian Security Bug TrackerDEBIANCVE:CVE-2021-47205
HistoryApr 10, 2024 - 7:15 p.m.

CVE-2021-47205

2024-04-1019:15:48
Debian Security Bug Tracker
security-tracker.debian.org
3
linux kernel
vulnerability
ccu driver
clocks
resets
memory allocation

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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.

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%