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 6A58F572696 for ; Fri, 11 Sep 2026 19:51:24 +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=1789156287; cv=none; b=bsmhfSlFQ5r7BinXWoKZaZ7/9ou3FslLWen2kEdv642gJsCB92OjZYozq5251wviWYT8zgt7C1nEjYJXcAhyUfX5bXxLJ8H6W8wSwGa8wF+Ab3o2pS7pXoztVynB9EI4MJFRUDCkxxEVxqwDjlZ7YRflDj2nC4YxHXffWwR2Ki4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156287; c=relaxed/simple; bh=b9M2m73AwJaFoQDUPeesj7WneJtd8pFr5njQ7ID9m0Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Jpbk4pIKQpEGnVCCPY+a0z6VEYoLzzg5VnV88oj/tI5ArcjvJ2Nvj/Ywbg69PK8AvBkh7pUONPRU3YXTrUG1Q/DAaf2an/xFcVW8AfRj0gtTwfH3a8K5bOo391a0R92b1uyAzN8me3AXC6iY8Pk9vWZSkC47kdWChzymLi881E8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MOiEGFe6; 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="MOiEGFe6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9708E1F0089C; Fri, 11 Sep 2026 19:51:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156281; bh=xE++cmj57y2juP2du6NMfKxaJWoqQBeFt1Mx1XUWGYU=; h=From:To:Cc:Subject:Date:Reply-To; b=MOiEGFe6EPan25WAmPym0xykruRU46xyvIbLGk8QWq1T5vkbh4lb0SCGHlACrCQeH deutizL/8FPhtUlRnEClH9F5w0pATMB8LVVfSfCOg6CKS7mZW19d40wF0l5MB6eaVN o7Fsfz47qJkWDo+u/ciFgDYvj4iZcIYqmGiYSaBU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89464: power: supply: twl4030_charger: cancel workers via devm Date: Fri, 11 Sep 2026 21:42:33 +0200 Message-ID: <2026091101-CVE-2026-89464-f3e6@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=2996; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RKePVkGACL4Do4SI56kmRGLymuEgmtAuGuw2fn5ANmo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIn1zjbfO8rl4au3U8iVx5fPEG34/s27NOxUh+Lmw/ b6u/s3IjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI9p0MMxnfOKSGJ8bLxH/Z 5KLVoH5vn8MsCYY5/AUMXMzVX2dE+K/aLf7zWtbmNc26AA== 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: twl4030_charger: cancel workers via devm bci is devm-allocated. Two workers (bci->work and bci->current_worker) dereference it. twl4030_bci_remove() disables charging and masks interrupts. It cancels neither worker. A worker pending at remove() can run after devm frees bci. The USB transceiver comes from devm_usb_get_phy_by_node(). devm unregisters its notifier only after remove() returns. A cancel_work_sync() in remove() can then race a notifier reschedule. devm_work_autocancel() and devm_delayed_work_autocancel() avoid that. They cancel the workers during devm release, before bci is freed. The current_worker is registered first, since devm will cancel in reverse order and bci->work can reschedule current_worker. [Move comment about order into the commit message] The Linux kernel CVE team has assigned CVE-2026-89464 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.39 with commit d6ccc442b12102414c1343f0adacaa8a1aaa516c and fixed in 6.12.109 with commit 72a2d6cd049f892853e4e2d8d8fc5e7d0244a458 Issue introduced in 2.6.39 with commit d6ccc442b12102414c1343f0adacaa8a1aaa516c and fixed in 6.18.50 with commit a4460e89d4088cfec2da5be33e265ef1a8e780e9 Issue introduced in 2.6.39 with commit d6ccc442b12102414c1343f0adacaa8a1aaa516c and fixed in 7.2.4 with commit b955da82db4170bdf1c784dc457287aa0c977378 Issue introduced in 2.6.39 with commit d6ccc442b12102414c1343f0adacaa8a1aaa516c and fixed in 7.3-rc1 with commit 6eba34732524067da2aad5ddfdfbc641ded10e9e 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-89464 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/twl4030_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/72a2d6cd049f892853e4e2d8d8fc5e7d0244a458 https://git.kernel.org/stable/c/a4460e89d4088cfec2da5be33e265ef1a8e780e9 https://git.kernel.org/stable/c/b955da82db4170bdf1c784dc457287aa0c977378 https://git.kernel.org/stable/c/6eba34732524067da2aad5ddfdfbc641ded10e9e