From mboxrd@z Thu Jan 1 00:00:00 1970 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 8B6E4583AA5 for ; Fri, 11 Sep 2026 19:51:50 +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=1789156320; cv=none; b=j74sLX0ESHjSF4IbG4AUUv8ZCjzX0ZT3i3h5ZD7z8Oaxa5aWFjKe+9N/5gwR+U2SQNPeoHruKgUQxxY2FSyGexqNUsqBdUgpHoQQ/M7Q+qDnxrPVOsE5lFebSi3Z71LdvcyKr0aDZrpK3XQyRNmNR4Gzq+H4kQlqmIiWFX1V5JM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156320; c=relaxed/simple; bh=wX4NZht4nar/dsUGsuZE9yVTDPTFAv//xQneHcDSnZc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cAqXnJtdP8UtCqZsiOiDeHTKO6KhlVDUXKgKrD4l89TsVobo3htUjhY/qX2rSoLJjIcnTSIYDPM252+T3YetghT0vWrXiL9tUawyjpjGA7EGWPAPMbygqgfpFg6lx99rmEK9xa+rCcUAWgazXJfXCgQDh7H4RXEVHI/cEiMKz3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TEfUK8r3; 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="TEfUK8r3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD0AE1F000FF; Fri, 11 Sep 2026 19:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156310; bh=rP35zV/v5z3Lmk6i4yZdTzUq2ErEY0wEkeE828s4tAU=; h=From:To:Cc:Subject:Date:Reply-To; b=TEfUK8r3Xh+n8/1FB61j68delieFSFG8iz904+5aaRfo8afaABuMtCDQ1KQouMIlv 7BBhgWh7MPZMi0N06CCfHroAjKdOVsNf0SkhPCj6ayjGDPFwtOh4RC5EL8qlaGPfe0 NO5HXQ8bT/X9e8cDNy5qt9oY7EAjiOFLbAEwROJk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89473: power: supply: bq25890: Fix power_supply reference leak Date: Fri, 11 Sep 2026 21:42:42 +0200 Message-ID: <2026091103-CVE-2026-89473-3bab@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=2756; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=35nt3vWkiQ8sKpOD1Os0Czpz8mOPMgEyTv/rtuTz10M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIv1j448G81Z3OrMaKT3YXf7B5c4H9U3lt63bq198e NCywoGtI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyexHDgm7JTuH91zfc7l1Y 6VjW53XK2SLrDMOCBT8X9a5udsyWOsG+b/uJFb+zestOAgA= 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: power: supply: bq25890: Fix power_supply reference leak bq25890_fw_probe() acquires a reference to a secondary charger using power_supply_get_by_name(), but the reference is not released on later probe failures or on driver detach. In particular, failures after bq25890_fw_probe() returns successfully, such as a failure in bq25890_hw_init(), also leak the reference. Register a device-managed cleanup action immediately after acquiring the secondary charger. This releases the reference on all subsequent probe failures and on driver detach. Found by code review. The Linux kernel CVE team has assigned CVE-2026-89473 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit d54bf877fd878ee45cbc88d399fb98b0b1c4484d and fixed in 6.12.109 with commit 81b558afda9321c1a70971a39071d156f3e26950 Issue introduced in 6.3 with commit d54bf877fd878ee45cbc88d399fb98b0b1c4484d and fixed in 6.18.50 with commit 238320ad029a3eedabb86286a28cab55bca629b9 Issue introduced in 6.3 with commit d54bf877fd878ee45cbc88d399fb98b0b1c4484d and fixed in 7.2.4 with commit 58f1025eca92734eadc063715b98f62538286468 Issue introduced in 6.3 with commit d54bf877fd878ee45cbc88d399fb98b0b1c4484d and fixed in 7.3-rc1 with commit 863c32a83e4235eb0cbf6106f2b124e645302156 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-89473 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/power/supply/bq25890_charger.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/81b558afda9321c1a70971a39071d156f3e26950 https://git.kernel.org/stable/c/238320ad029a3eedabb86286a28cab55bca629b9 https://git.kernel.org/stable/c/58f1025eca92734eadc063715b98f62538286468 https://git.kernel.org/stable/c/863c32a83e4235eb0cbf6106f2b124e645302156