Skip to content

firmware: arm_scmi: Lazy clock rates and bound iterator fixes

Geert Uytterhoeven arm-scmi linux-arm-kernel linux-renesas-soc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3firmware: arm_scmi: Fix OOB in scmi_clock_describe_rates_get_lazy()drivers/firmware/arm_scmi/clock.c+5 -20 replies
2/3firmware: arm_scmi: Fix bound iterators returning too many itemsdrivers/firmware/arm_scmi/driver.c+7 -20 replies
3/3firmware: arm_scmi: Use proper iter_response_bound_cleanup() namedrivers/firmware/arm_scmi/clock.c drivers/firmware/arm_scmi/driver.c drivers/firmware/arm_scmi/protocols.h+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 12 lines
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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