Skip to content
Commit 3d2ee789 authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader



Analog to the issue in the common mdt_loader code the MSS ELF loader
does not validate that p_filesz bytes will fit in the memory region and
that the loaded segments are not truncated. Fix this in the same way
as proposed for the mdt_loader.

Reviewed-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Fixes: 135b9e8d ("remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load")
Link: https://lore.kernel.org/r/20210312232002.3466791-1-bjorn.andersson@linaro.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 9af2a2a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment