CVE-2026-99444: power: supply: sbs-battery: disable polling before supply teardown
In the Linux kernel, the following vulnerability has been resolved:
power: supply: sbs-battery: disable polling before supply teardown
The managed poll-work cancellation is registered before the power supply, so cleanup unregisters the supply before draining polling. A pending or running poller can then call powersupplychanged() on the released supply.
Commit 8d59cf3887fb ("power: supply: sbs-battery: Fix use-after-free in powersupplychanged()") moved the IRQ request after supply registration, but did not change the poll-work cancellation order.
Add a later managed action that disables and drains polling before supply teardown. Its retained disabled state prevents external-power callbacks from rearming the poll work after it has been drained. Keep the original autocancel to initialize work before supply callbacks can run and to cover failed supply registration.
The teardown ordering issue was found by static analysis.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
Keep the original autocancel action to initialize poll work before supply callbacks can run and cover failed supply registration; add a later managed action that disables and drains polling before supply teardown, preventing callbacks from rearming drained poll work.
Event History
Frequently Asked Questions
Under what conditions can this issue occur?
It can occur during teardown of the sbs-battery power-supply driver when poll work is pending or running. The poller may call power_supply_changed() after the associated power-supply object has been released.
What mitigates the issue if an update cannot be applied immediately?
The provided data does not identify a configuration workaround. Mitigation would require preventing the affected driver’s teardown path from running, but no supported operational method is specified.
How does the fix prevent the use-after-free?
The fix adds a later managed cleanup action that disables and drains polling before the power supply is unregistered. It retains a disabled state so external-power callbacks cannot rearm polling after it has been drained.