[PATCH 0/3] firmware: arm_scmi: Lazy clock rates and bound iterator fixes

Geert Uytterhoeven
2026-03-23T16:56:17Z

Hi all,

This patch series:
- Fixes an out-of-bound access in lazy clock rate handling,
- Synchronizes bound-iterator cleanup naming between documentation and
code.

Note that the first two patches fix the same symptom; either or both can
be applied.

Thanks for your comments!

Geert Uytterhoeven (3):
firmware: arm_scmi: Fix OOB in scmi_clock_describe_rates_get_lazy()
firmware: arm_scmi: Fix bound iterators returning too many items
firmware: arm_scmi: Use proper iter_response_bound_cleanup() name

drivers/firmware/arm_scmi/clock.c | 9 ++++++---
drivers/firmware/arm_scmi/driver.c | 15 ++++++++++-----
drivers/firmware/arm_scmi/protocols.h | 2 +-
3 files changed, 17 insertions(+), 9 deletions(-)

--
2.43.0

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds