CVE-2026-90422: clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path
clk: mediatek: pllfh: Fix IO remapping leak in registerpllfhs error path
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Update the MediaTek PLLFH clock driver so the loop index starts at a value that avoids subtracting 1 at each iteration, and factor the cleanup sequence into a private function used by both mtk_clk_register_pllfhs and mtk_clk_unregister_pllfhs to free the IO memory mapped on the fhctl node during registration error handling.
Event History
Frequently Asked Questions
Under what condition does the leak occur?
The leak occurs when mtk_clk_register_pllfhs fails while registering a PLL. Its error path unregisters PLLs but previously did not free the I/O memory mapped for the fhctl node.
Is cleanup required from callers when PLL registration fails?
No. The function handles its own error-path cleanup before returning, so callers do not need to unregister or otherwise clean up the PLLs.
What is the impact of the issue?
A failed PLL registration can leave mapped I/O memory allocated. The provided information describes a resource leak and does not state any attacker-controlled exploitation prerequisites or broader security impact.