[PATCH v9 6/7] lib: utils: mpxy: Fix RPMI service ID lookup

Rahul Pathak rahul at summations.net
Wed Nov 18 01:29:58 PST 2026


On Wed, Nov 18, 2026 at 12:18 AM Pawandeep Oza
<pawandeep.oza at oss.qualcomm.com> wrote:
>
> From: Oza Pawandeep <pawandeep.oza at oss.qualcomm.com>
>
> mpxy_find_rpmi_srvid() incorrectly used the current service ID to
> control iteration through the service table. This could stop the
> search prematurely or read beyond the table.
>
> Bound the search using num_services so every registered service is
> checked without accessing entries past the end of the array.
>
> Fixes: c5a8b15e398a ("lib: utils/mpxy: Add RPMI client driver for MPXY")
> Signed-off-by: Oza Pawandeep <pawandeep.oza at oss.qualcomm.com>
> ---
>  lib/utils/mpxy/fdt_mpxy_rpmi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Rahul Pathak <rahul.pathak at oss.qualcomm.com>



More information about the opensbi mailing list