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 301DA4DDB57 for ; Thu, 17 Sep 2026 16:17:47 +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=1789661869; cv=none; b=ksZnjxym8oLZMsAtBNj/2bSa5xuLwliHpmM57nOMNzsnY1J1+Z/4MoCGnRmGs8cGX4ZSx1OLVm2o6R8NApUPSJvWBHyrRvPd6bZJxdkmU9a86A8lZEp+mgA/t2u0UhqSAALwQJA+iAnq41lc0WrGj7dbkCuQR2hstZ/fmMDukKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661869; c=relaxed/simple; bh=W92hnXHlWJgk2EhPhpNgydWGqXK6zs+RjZssWWm7/Fs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pXsMRwck21laI02AnzaZXciv+dt9WAR052BmSL39++A1XaMAS2PaEfyvW7J2KKhoot0GHzy1ATwhfs0Oq+VvD6iPKNttAYp2kIC17e9NXrZoyVGYnel2HP3eePdVzFulP3NwClKE3gQp0NRnJh0akxt7DnGmp6/coZBDRfVkkAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oFRO6PPb; 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="oFRO6PPb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 444BF1F00893; Thu, 17 Sep 2026 16:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661867; bh=r4QsW3h+21Tza27mrI/9MdFtj1a1MYDdE+JTMJS3Xh8=; h=From:To:Cc:Subject:Date:Reply-To; b=oFRO6PPbutHhbmq1lKhZGt4Y5Z7ssiVyzArt74BPtGzzGNyvIMJZRQzn5GUBrXMdB 9kzb/bEUnHKqOLgvRHpZI+a3dDzlWBKrthT6CVkgPbEvC179NNISFvhxO45i6v4NLB sGcm8g1ggQdbleH2/0ANwt++ubkVyFL4OJIQlE1U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90126: rtc: pcf8563: fix clock provider leak on unbind Date: Thu, 17 Sep 2026 17:09:16 +0100 Message-ID: <2026091718-CVE-2026-90126-1615@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=3994; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SKAiIFiC3qqYqtjh86wnk3jNBRJgiw6X0Nvg0rylpE8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBIpu5Ze//Jenuarv9dd5Lc9UKpf3GG864P2RZ/u0s k9+mQe6OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLqIMC04w2CXwHpbJneV5 O0JW6ALHc+alGxjmx9+ZLeYpqdo7KX9v5r0pqbf89q86DQA= 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: rtc: pcf8563: fix clock provider leak on unbind pcf8563_clkout_register_clk() registers the CLKOUT clock provider with of_clk_add_provider(), but nothing ever unwinds it: there is no of_clk_del_provider() call and the driver has no remove callback. Each of_clk_add_provider() allocates a struct of_clk_provider, takes a reference on the OF node and adds an entry to the global of_clk_providers list, none of which is released when the device is unbound. Every bind/unbind (or module reload) therefore leaks a provider structure and an of_node reference. The clock itself is already device-managed (devm_clk_register()); only the provider registration was not. Use devm_of_clk_add_hw_provider() so the provider is removed automatically on unbind. Tie it to the parent i2c device, whose OF node carries the #clock-cells and clock-output-names properties (the RTC class device has no OF node of its own). The Linux kernel CVE team has assigned CVE-2026-90126 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 5.10.270 with commit 2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675 Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 5.15.221 with commit 36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 6.1.188 with commit 30b7c63af50fe1464e7582a37de1ca4bd030ecc1 Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 6.6.157 with commit 7afb8db47c4f107bce89cfe5115fb31ba7c94665 Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 6.12.110 with commit 97edf3fd9a46ea89a167966991c0449cfa07b36f Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 6.18.52 with commit 08a59c28c2bdbcd655e99526c86a41dc83834283 Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 7.2.6 with commit 6218c0533a72235ec9c5f41b812c63d963bd4a3e Issue introduced in 4.4 with commit a39a6405d5f949bc651694028a55d74c514ef1f9 and fixed in 7.3-rc1 with commit 9c48a53685040bb0de45a640b34055cbbfc69d4f 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-90126 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/rtc/rtc-pcf8563.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/2b5622cf4ee218b6f98d31dbf3fbd44b9b6bd675 https://git.kernel.org/stable/c/36cb00c33bd83e7ce31b5a9f1f7c70db0cb7776c https://git.kernel.org/stable/c/30b7c63af50fe1464e7582a37de1ca4bd030ecc1 https://git.kernel.org/stable/c/7afb8db47c4f107bce89cfe5115fb31ba7c94665 https://git.kernel.org/stable/c/97edf3fd9a46ea89a167966991c0449cfa07b36f https://git.kernel.org/stable/c/08a59c28c2bdbcd655e99526c86a41dc83834283 https://git.kernel.org/stable/c/6218c0533a72235ec9c5f41b812c63d963bd4a3e https://git.kernel.org/stable/c/9c48a53685040bb0de45a640b34055cbbfc69d4f