---
id: CVE-2026-90422
title: |-
  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 cl…
summary: |-
  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 cl…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d7964de8a8ea800910fdd4e365c42a9e7d5c54aa <
    d35e45e5bad4fabcf122126402b6c6dcb4379672
  - >-
    Linux >= d7964de8a8ea800910fdd4e365c42a9e7d5c54aa <
    fea0b4fd891a2af77b55e05b950e7ea55b5d234e
  - >-
    Linux >= d7964de8a8ea800910fdd4e365c42a9e7d5c54aa <
    540d91480bcb1b28a62d7023aa70947ea44c55b9
  - Linux 6.2
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:17:46.770'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90422'
references:
  - url: 'https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-17T16:21:47.794Z'
epss: 0.00198
epssPercentile: 0.09868
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
