Re: [PATCH] soc: qcom: pdr: stop on an empty domain page

From: Bjorn Andersson

Date: Fri Dec 04 2026 - 18:38:30 EST



On Wed, 18 Nov 2026 13:46:27 +0800, Shirong Zhao wrote:
> pdr_locate_service() pages through the service registry by adding
> resp->domain_list_len to domains_read until it reaches
> resp->total_domains. There is a clamp for a page that claims more
> domains than the reply contains, but nothing for an empty one.
>
> If a reply carries domain_list_len == 0 while total_domains stays
> positive, domains_read never advances and the do-while re-issues the
> same request forever. Both fields come from the service registry
> reply, so a faulty remote can trigger it.
>
> [...]

Applied, thanks!

[1/1] soc: qcom: pdr: stop on an empty domain page
commit: 8ea745991f75bb387aa36f60d07f2e10889af636

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>