CVE-2026-90422
Description
In the Linux kernel, the following vulnerability has been resolved:
clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path
When mtk_clk_register_pllfhs function fails to register a PLL, it unregisters all PLLs and cleans up itself in its error path before returning, so the function callers don't need to do it.
But contrary to mtk_clk_unregister_pllfhs function, that does almost the same sequence, it does not free the IO memory mapped on fhctl node, leading to a leak.
Fix this leak by factorizing the cleanup sequence in a new private function and use it both mtk_clk_register_pllfhs and mtk_clk_unregister_pllfhs functions.
Also, change the loop index start value to avoid the -1 operation on index at each loop.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- osv-coords2 versions
>= 6.2.0, < 6.6.160+ 1 more
- (no CPE)range: >= 6.2.0, < 6.6.160
- (no CPE)range: < 7.2.8-1.1
Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/111235106099019b8a8d1947dc5c2674e0329ffanvd
- git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9nvd
- git.kernel.org/stable/c/6e3e93bc718c4fea556d7ca5fba07ab3511c9918nvd
- git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672nvd
- git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234envd
News mentions
0No linked articles in our index yet.