[PATCH] firmware: arm_scmi: quirk: fix write to string constant
Sudeep Holla
sudeep.holla at arm.com
Mon Sep 8 03:17:06 PDT 2025
On Fri, 29 Aug 2025 15:21:52 +0200, Johan Hovold wrote:
> The quirk version range is typically a string constant and must not be
> modified (e.g. as it may be stored in read-only memory):
>
> Unable to handle kernel write to read-only memory at virtual
> address ffffc036d998a947
>
> Fix the range parsing so that it operates on a copy of the version range
> string, and mark all the quirk strings as const to reduce the risk of
> introducing similar future issues.
>
> [...]
Applied to sudeep.holla/linux (for-next/scmi/updates), thanks!
[1/1] firmware: arm_scmi: quirk: fix write to string constant
https://git.kernel.org/sudeep.holla/c/572ce546390d
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list