Re: [PATCH] power: supply: sbs-battery: disable polling before supply teardown
From: Sebastian Reichel
Date: Sun Oct 04 2026 - 18:20:19 EST
On Sun, 04 Oct 2026 00:10:19 -0400, Myeonghun Pak wrote:
> 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 power_supply_changed() on
> the released supply.
>
> Commit 8d59cf3887fb ("power: supply: sbs-battery: Fix use-after-free in
> power_supply_changed()") moved the IRQ request after supply registration,
> but did not change the poll-work cancellation order.
>
> [...]
Applied, thanks!
[1/1] power: supply: sbs-battery: disable polling before supply teardown
commit: 5c1c602463d597c5189ddc5a73dece588ba2c57a
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>