On Tue, 16 Nov 2021 22:54:54 -0800, Stephen Boyd wrote: > If the string passed into qcom_pil_info_store() isn't as long as > PIL_RELOC_NAME_LEN we'll try to copy the string assuming the length is > PIL_RELOC_NAME_LEN to the io space and go beyond the bounds of the > string. Let's only copy as many byes as the string is long, ignoring the > NUL terminator. > > This fixes the following KASAN error: > > [...] Applied, thanks! [1/1] remoteproc: qcom: Don't memcpy_toio more than is provided commit: fdc12231d885119cc2e2b4f3e0fbba3155f37a56 Best regards, -- Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>