# CVE-2026-90422: clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:09:45.830Z
- Modified: 2026-10-21T13:20:55.563Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d7964de8a8ea800910fdd4e365c42a9e7d5c54aa before 6e3e93bc718c4fea556d7ca5fba07ab3511c9918; from d7964de8a8ea800910fdd4e365c42a9e7d5c54aa before 111235106099019b8a8d1947dc5c2674e0329ffa; from d7964de8a8ea800910fdd4e365c42a9e7d5c54aa before d35e45e5bad4fabcf122126402b6c6dcb4379672; from d7964de8a8ea800910fdd4e365c42a9e7d5c54aa before fea0b4fd891a2af77b55e05b950e7ea55b5d234e; from d7964de8a8ea800910fdd4e365c42a9e7d5c54aa before 540d91480bcb1b28a62d7023aa70947ea44c55b9; 6.2 (not affected: before 6.2; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-90422](https://www.cve.org/CVERecord?id=CVE-2026-90422), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-90422](https://nvd.nist.gov/vuln/detail/CVE-2026-90422), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-90422 · Whole record: https://cve.day/CVE-2026-90422.json · Rebuilt by cve.day 2026-11-25T22:59:39.412Z
