{"id":"CVE-2026-90422","summary":"clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path\n\nWhen mtk_clk_register_pllfhs function fails to register a PLL, it\nunregisters all PLLs and cleans up itself in its error path before\nreturning, so the function callers don't need to do it.\n\nBut contrary to mtk_clk_unregister_pllfhs function, that does almost\nthe same sequence, it does not free the IO memory mapped on fhctl node,\nleading to a leak.\n\nFix this leak by factorizing the cleanup sequence in a new private\nfunction and use it both mtk_clk_register_pllfhs and\nmtk_clk_unregister_pllfhs functions.\n\nAlso, change the loop index start value to avoid the -1 operation on\nindex at each loop.","modified":"2026-09-19T03:47:26.074714929Z","published":"2026-09-17T16:09:45.830Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90422.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90422.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90422"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa"},{"fixed":"d35e45e5bad4fabcf122126402b6c6dcb4379672"},{"fixed":"fea0b4fd891a2af77b55e05b950e7ea55b5d234e"},{"fixed":"540d91480bcb1b28a62d7023aa70947ea44c55b9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90422.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90422.json"}}],"schema_version":"1.9.0"}