linux/drivers/soc
Bjorn Andersson 84168d1b54 soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
The code validates that segments of p_memsz bytes of a segment will fit
in the provided memory region, but does not validate that p_filesz bytes
will, which means that an incorrectly crafted ELF header might write
beyond the provided memory region.

Fixes: 051fb70fd4 ("remoteproc: qcom: Driver for the self-authenticating Hexagon v5")
Reviewed-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20210107233119.717173-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-04-08 10:28:55 -05:00
..
actions soc: actions: include header to fix missing prototype 2020-09-22 12:45:16 +05:30
amlogic soc: amlogic: replace devm_reset_control_array_get() 2020-11-30 16:23:11 -08:00
aspeed soc: aspeed: socinfo: Add new systems 2021-02-10 22:25:45 +10:30
atmel drivers: soc: atmel: fix type for same7 2021-02-04 21:54:31 +01:00
bcm soc: bcm: brcmstb: Remove soc_is_brcmstb() 2021-01-27 09:36:41 -08:00
canaan clk: Add RISC-V Canaan Kendryte K210 clock driver 2021-02-22 17:51:04 -08:00
dove
fsl soc: fsl: qe: add cpm_muram_free_addr() helper 2021-01-21 12:19:55 -08:00
gemini
imx ARM: SoC drivers for v5.12 2021-02-20 18:42:28 -08:00
ixp4xx soc: ixp4xx: Protect IXP4xx SoC drivers by ARCH_IXP4XX || COMPILE_TEST 2019-08-29 17:34:38 +02:00
lantiq soc: lantiq: convert to devm_platform_ioremap_resource 2020-01-10 11:44:52 -08:00
litex OpenRISC updates for 5.12 2021-02-26 14:16:06 -08:00
mediatek drm pull for 5.12-rc1 2021-02-21 14:44:44 -08:00
qcom soc: qcom: mdt_loader: Validate that p_filesz < p_memsz 2021-04-08 10:28:55 -05:00
renesas soc: renesas: rcar-sysc: Mark device node OF_POPULATED after init 2021-01-29 09:10:25 +01:00
rockchip soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe() 2020-12-04 11:20:47 +01:00
samsung soc: samsung: pm_domains: Convert to regular platform driver 2021-01-15 20:50:34 +01:00
sifive RISC-V: sifive_l2_cache: Update L2 cache driver to support SiFive FU740 2021-01-07 17:28:27 -08:00
sunxi ARM: SoC drivers for v5.12 2021-02-20 18:42:28 -08:00
tegra soc/tegra: Changes for v5.11-rc1 2020-11-27 17:56:10 +01:00
ti ARM: SoC drivers for v5.12 2021-02-20 18:42:28 -08:00
ux500 soc: ux500: Use custom soc attribute group instead of device_create_file 2020-07-06 09:48:06 +01:00
versatile soc: integrator: Drop pointless static qualifier in integrator_soc_init() 2020-08-20 08:57:05 +02:00
xilinx clk: xilinx: move xlnx_vcu clock driver from soc 2021-02-08 18:31:25 -08:00
Kconfig RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00
Makefile RISC-V Patches for the 5.12 Merge Window 2021-02-26 10:28:35 -08:00