-

CVE-2026-90422

clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version d7964de8a8ea800910fdd4e365c42a9e7d5c54aa
Version < d35e45e5bad4fabcf122126402b6c6dcb4379672
Status affected
Version d7964de8a8ea800910fdd4e365c42a9e7d5c54aa
Version < fea0b4fd891a2af77b55e05b950e7ea55b5d234e
Status affected
Version d7964de8a8ea800910fdd4e365c42a9e7d5c54aa
Version < 540d91480bcb1b28a62d7023aa70947ea44c55b9
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.2
Status affected
Version 0
Version < 6.2
Status unaffected
Version <= 6.18.*
Version 6.18.52
Status unaffected
Version <= 7.2.*
Version 7.2.6
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.099
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672
https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e
https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9