{"id":"CVE-2026-90422","state":"PUBLISHED","title":"clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path","description":"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.","publishedAt":"2026-09-17T16:09:45.830Z","updatedAt":"2026-10-21T12:51:35.803Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"6e3e93bc718c4fea556d7ca5fba07ab3511c9918","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"111235106099019b8a8d1947dc5c2674e0329ffa","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"d35e45e5bad4fabcf122126402b6c6dcb4379672","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"fea0b4fd891a2af77b55e05b950e7ea55b5d234e","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"540d91480bcb1b28a62d7023aa70947ea44c55b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-pllfh.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-pllfh.c"]}],"references":["https://git.kernel.org/stable/c/6e3e93bc718c4fea556d7ca5fba07ab3511c9918","https://git.kernel.org/stable/c/111235106099019b8a8d1947dc5c2674e0329ffa","https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672","https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e","https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90422.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90422","state":"PUBLISHED","datePublished":"2026-09-17T16:09:45.830Z","dateUpdated":"2026-10-21T12:51:35.803Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.814Z"},"containers":{"cna":{"title":"clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"6e3e93bc718c4fea556d7ca5fba07ab3511c9918","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"111235106099019b8a8d1947dc5c2674e0329ffa","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"d35e45e5bad4fabcf122126402b6c6dcb4379672","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"fea0b4fd891a2af77b55e05b950e7ea55b5d234e","versionType":"git"},{"version":"d7964de8a8ea800910fdd4e365c42a9e7d5c54aa","status":"affected","lessThan":"540d91480bcb1b28a62d7023aa70947ea44c55b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-pllfh.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/clk/mediatek/clk-pllfh.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6e3e93bc718c4fea556d7ca5fba07ab3511c9918"},{"url":"https://git.kernel.org/stable/c/111235106099019b8a8d1947dc5c2674e0329ffa"},{"url":"https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672"},{"url":"https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e"},{"url":"https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:51:35.803Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}