Re: [PATCH] soc: qcom: pd-mapper: Fix singleton refcount
From: Bjorn Andersson
Date: Wed Aug 21 2024 - 12:03:00 EST
On Tue, 20 Aug 2024 15:59:34 -0700, Bjorn Andersson wrote:
> The Qualcomm pd-mapper is a refcounted singleton, but the refcount is
> never incremented, which means the as soon as any remoteproc instance
> stops the count will hit 0.
>
> At this point the pd-mapper QMI service is stopped, leaving firmware
> without access to the PD information. Stopping any other remoteproc
> instances will result in a use-after-free, which best case manifest
> itself as a refcount underflow:
>
> [...]
Applied, thanks!
[1/1] soc: qcom: pd-mapper: Fix singleton refcount
commit: c158ceb826068a8bbe3c9e78df420f47ba53c8a8
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>