diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-12 15:20:02 -0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-03-18 07:54:44 -0500 |
commit | 3d2ee78906af5f08d499d6aa3aa504406fa38106 (patch) | |
tree | 8d7a2444cb2e09bf7da8b96daf4e2d0251918a79 /drivers/ipack/carriers/tpci200.c | |
parent | 9af2a2a9c64ee68a5dc8271d54235609191f1cd1 (diff) |
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: Mathieu Poirier <mathieu.poirier@linaro.org>
Fixes: 135b9e8d1cd8 ("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: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/ipack/carriers/tpci200.c')
0 files changed, 0 insertions, 0 deletions