[PATCH] firmware: arm_scmi: Fix OOB in scmi_power_name_get()

Sudeep Holla sudeep.holla at kernel.org
Wed May 27 02:18:29 PDT 2026


On Fri, 15 May 2026 11:59:15 +0200, Geert Uytterhoeven wrote:
> scmi_power_name_get() does not validate the domain number passed by the
> external caller, which may lead to an out-of-bounds access.
> 
> Fix this by returning "unknown" for invalid domains, like
> scmi_reset_name_get() does.
> 
> 
> [...]

Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!

[1/1] firmware: arm_scmi: Fix OOB in scmi_power_name_get()
      https://git.kernel.org/sudeep.holla/c/f9ef3f66f4b1

--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list