Re: [PATCH] power: supply: qcom_battmgr: Fix pmic_glink client use-after-free on unbind

From: Sebastian Reichel

Date: Sun Nov 15 2026 - 19:09:20 EST



On Mon, 02 Nov 2026 13:41:17 +0200, Abel Vesa wrote:
> Since commit 4e40befedfc8 ("power: supply: qcom_battmgr: fix
> use-after-free"), enable_work is cancelled by a devres action registered
> before the pmic_glink client, so that on unbind the client is released
> first and can no longer requeue it. But a worker that is pending or
> running at that point still goes on to use the released client in
> pmic_glink_send().
>
> [...]

Applied, thanks!

[1/1] power: supply: qcom_battmgr: Fix pmic_glink client use-after-free on unbind
commit: 4f9bf356cbfb8aa6e73b1d05e182445723a4bb49

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>