clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
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
European references
- ENISA EUVD · EUVD-2026-82083
- GCVE · GCVE-0-2026-90422
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ d7964de8a8ea800910fdd4e365c42a9e7d5c54aa < 6e3e93bc718c4fea556d7ca5fba07ab3511c9918 affected : ≥ d7964de8a8ea800910fdd4e365c42a9e7d5c54aa < 111235106099019b8a8d1947dc5c2674e0329ffa affected : ≥ d7964de8a8ea800910fdd4e365c42a9e7d5c54aa < d35e45e5bad4fabcf122126402b6c6dcb4379672 affected : ≥ d7964de8a8ea800910fdd4e365c42a9e7d5c54aa < fea0b4fd891a2af77b55e05b950e7ea55b5d234e affected : ≥ d7964de8a8ea800910fdd4e365c42a9e7d5c54aa < 540d91480bcb1b28a62d7023aa70947ea44c55b9 Other versions : unaffected |
| Linux · Linux | affected : 6.2 unaffected : ≥ 0 < 6.2 unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.52 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |