kernel_samsung_a53x/drivers/firmware
Jean Delvare 5a477264c0 firmware: dmi: Stop decoding on broken entry
[ Upstream commit 0ef11f604503b1862a21597436283f158114d77e ]

If a DMI table entry is shorter than 4 bytes, it is invalid. Due to
how DMI table parsing works, it is impossible to safely recover from
such an error, so we have to stop decoding the table.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Link: https://lore.kernel.org/linux-kernel/Zh2K3-HLXOesT_vZ@liuwe-devbox-debian-v2/T/
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:40 +01:00
..
arm_scmi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
broadcom Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
efi efi/x86: Free EFI memory map only when installing a new one. 2024-11-19 14:19:35 +01:00
google Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
meson firmware: meson_sm: populate platform devices from sm device tree data 2024-11-18 12:12:28 +01:00
psci Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smccc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xilinx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm_scpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
arm_sdei.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dmi-id.c firmware: dmi-id: add a release callback function 2024-11-19 12:27:01 +01:00
dmi-sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dmi_scan.c firmware: dmi: Stop decoding on broken entry 2024-11-19 14:19:40 +01:00
edd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iscsi_ibft.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iscsi_ibft_find.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
memmap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcdp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcdp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_scm-legacy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_scm-smc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_scm.c firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit 2024-11-18 11:43:25 +01:00
qcom_scm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qemu_fw_cfg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
raspberrypi.c firmware: raspberrypi: Use correct device for DMA mappings 2024-11-19 12:26:52 +01:00
scpi_pm_domain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stratix10-rsu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stratix10-svc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_sci.c firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create() 2024-11-18 12:12:28 +01:00
ti_sci.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trusted_foundations.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
turris-mox-rwtm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00