Skip to contentSkip to conversation

CVE-2026-90394: power: supply: sc2731_charger: cancel work on remove

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

power: supply: sc2731_charger: cancel work on remove

The USB notifier and initial charger detection can schedule info->work. The remove path unregisters the notifier, but does not cancel queued or running work before the devm-allocated driver data is released.

Set the platform drvdata used by remove, then cancel the work after unregistering the notifier.

This issue was found by a static analysis tool.

The Linux kernel CVE team has assigned CVE-2026-90394 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 5.10.270 with commit bb74a5ab30963022981381ea6aee176fd0c7957c
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 5.15.221 with commit 232e9e946b496e4706e2f34ce4a617460d8ae713
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 6.1.188 with commit 05c188addc6d1af51e28496e95096f4df9a000e9
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 6.6.157 with commit 972d88069050d0272b776145b824198b8f899dce
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 6.12.110 with commit c6df6e0c099086bc553d44410015cc81795070e6
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 6.18.52 with commit d5266b4c5c77152e386a3a2d9d5244b3b6cbd57a
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 7.2.6 with commit aab9d81a415c6653b44b057695ebfbba34dc9556
	Issue introduced in 5.0 with commit 8ac1091ed18b4a6cb0dc2cd5653f080736f89392 and fixed in 7.3-rc1 with commit dfc859bb8d332c525872f1a44028137724fa1998

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-90394

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/sc2731_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/bb74a5ab30963022981381ea6aee176fd0c7957c
	https://git.kernel.org/stable/c/232e9e946b496e4706e2f34ce4a617460d8ae713
	https://git.kernel.org/stable/c/05c188addc6d1af51e28496e95096f4df9a000e9
	https://git.kernel.org/stable/c/972d88069050d0272b776145b824198b8f899dce
	https://git.kernel.org/stable/c/c6df6e0c099086bc553d44410015cc81795070e6
	https://git.kernel.org/stable/c/d5266b4c5c77152e386a3a2d9d5244b3b6cbd57a
	https://git.kernel.org/stable/c/aab9d81a415c6653b44b057695ebfbba34dc9556
	https://git.kernel.org/stable/c/dfc859bb8d332c525872f1a44028137724fa1998