Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 657D0502D48 for ; Thu, 17 Sep 2026 16:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662646; cv=none; b=DrpE1n+dtRZ+hYT44aDiind+0iYdA7G9xwdN3mUOOts2h5M5f0gnZG9Js1IBK0l4I1BpXYPgCYyQTa4uU8dUsSy71806MNMUNFySw2UrUe/AJAr/3xSPkoAnaEIO4eTj6wUayfnVzPbE5nAbcitFU+czM3XQVc9NdBIylA6k6WA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662646; c=relaxed/simple; bh=s+q9sdk+KV/5M5b8grvN23R8wZ6yIlE4VRofczIXF6c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IFl7C81g/Cq7vPcpTh6EdGZ0EGKNmUE9VQ0Uq+s/jBKVtJ9UQlLsWKmJrl8uGPMgsaiH2QTavN+HLIA/KhLXOI0pwX99nlQIg3WhtHqo6/v1IF7lTDGFKaNqPjJJw0dxEG36/DVQOkqXL97EJk5lzmfjSIRfv5Nwi38WrNLEBHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KPdqGz5d; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KPdqGz5d" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A80A51F00893; Thu, 17 Sep 2026 16:30:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662644; bh=aKduSD3uyR8DLMKO3O0aR+EaVDMSj4baiWr/z9B9j3E=; h=From:To:Cc:Subject:Date:Reply-To; b=KPdqGz5dpNf7iK2RLr9+uZBUrOwGQUFVeZC3Sox/tkiwlkkidDzSk3H6YGYouGIpA csNU6PRItP3tB3l6YNt5sXdrXG/G4PA36dPywiyiAG+Z3yBemVmbqh06ZcBF9kL7Bd uD22PyVtE6m86J/rnbYz6WR263wlZeR7ngmwX6ao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90422: clk: mediatek: pllfh: Fix IO remapping leak in register_pllfhs error path Date: Thu, 17 Sep 2026 17:14:12 +0100 Message-ID: <2026091718-CVE-2026-90422-0b61@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2627; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LUHXJMt6z+hPWqYofElOizA8INYv26rO14X41FcFDtE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBNYpT4o317OdHHx0qwGrXNmmr9fD0pnvvhDYYbYk0 mCCte79jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIXSzD/EqxarX4Sy0Wu5av kPp1xV3l3zmLFIa5YjyqE24zXWE+kNkR5bBl0jmhvF+xAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-90422 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit d7964de8a8ea800910fdd4e365c42a9e7d5c54aa and fixed in 6.18.52 with commit d35e45e5bad4fabcf122126402b6c6dcb4379672 Issue introduced in 6.2 with commit d7964de8a8ea800910fdd4e365c42a9e7d5c54aa and fixed in 7.2.6 with commit fea0b4fd891a2af77b55e05b950e7ea55b5d234e Issue introduced in 6.2 with commit d7964de8a8ea800910fdd4e365c42a9e7d5c54aa and fixed in 7.3-rc1 with commit 540d91480bcb1b28a62d7023aa70947ea44c55b9 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90422 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/clk/mediatek/clk-pllfh.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d35e45e5bad4fabcf122126402b6c6dcb4379672 https://git.kernel.org/stable/c/fea0b4fd891a2af77b55e05b950e7ea55b5d234e https://git.kernel.org/stable/c/540d91480bcb1b28a62d7023aa70947ea44c55b9