Re: [PATCH v2] power: supply: qcom_battmgr: fix use-after-free

Sebastian Reichel <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm
Message-ID <178560160417.8893.8042896031872107443.b4-ty@b4>
On Sat, 01 Aug 2026 05:19:23 +0000, Fan Wu wrote:
> qcom_battmgr_pdr_notify() queues enable_work when the PMIC GLINK service
> comes up, and the worker recovers battmgr through container_of() to issue
> firmware requests. The PMIC GLINK client stays on the client list until
> its devres release action runs, so a PDR notification can keep queueing
> the work, and a pending or running worker can access battmgr after devres
> frees it.
> 
> [...]

Applied, thanks!

[1/1] power: supply: qcom_battmgr: fix use-after-free
      commit: 4e40befedfc8ed86f44e1f81df92d13c149c9f8d

Best regards,
-- 
Sebastian Reichel <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.