[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172425606114.1363342.17598413344783276376.b4-ty@kernel.org>
Date: Wed, 21 Aug 2024 11:01:06 -0500
From: Bjorn Andersson <andersson@...nel.org>
To: Chris Lew <quic_clew@...cinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Bjorn Andersson <quic_bjorande@...cinc.com>
Cc: linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] soc: qcom: pd-mapper: Fix singleton refcount
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@...nel.org>
Powered by blists - more mailing lists