summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2021-03-13 02:20:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-19 11:56:21 +0300
commitef27ec3805c05e67abfd6fae7baabb5e1d15c829 (patch)
treee3d6c2a2de20b7e579c5093043bf00f0efdf7b8c /drivers/android
parentd06ad5425e98304f2582b45817d6c88f7e18185c (diff)
downloadlinux-ef27ec3805c05e67abfd6fae7baabb5e1d15c829.tar.xz
remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
[ Upstream commit 3d2ee78906af5f08d499d6aa3aa504406fa38106 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions