coreboot-kgpe-d16/src/soc/intel/braswell
Patrick Rudolph 9f8f11513a SMM: Validate more user-provided pointers
Mitigate issues presented in "Digging Into The Core of Boot" found by
"Yuriy Bulygin" and "Oleksandr Bazhaniuk" at RECON-MTL-2017.

Validate user-provided pointers using the newly-added functions.
This protects SMM from ring0 attacks.

Change-Id: I8a347ccdd20816924bf1bceb3b24bf7b22309312
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Signed-off-by: Christian Walter <christian.walter@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41086
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2020-08-21 07:51:07 +00:00
..
acpi {sb,soc}/intel/*/acpi/lpc.asl: Drop commented-out code 2020-08-05 15:46:17 +00:00
bootblock treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
include/soc soc/intel/braswell: Move acpi_fill_fadt to fadt.c 2020-07-14 22:33:56 +00:00
romstage soc/intel/braswell/romstage/romstage.c: Add missing include 2020-07-14 16:11:59 +00:00
acpi.c soc/intel/braswell: Move acpi_fill_fadt to fadt.c 2020-07-14 22:33:56 +00:00
chip.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
chip.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
elog.c elog: rename ELOG_WAKE_SOURCE_GPIO to ELOG_WAKE_SOURCE_GPE 2020-08-18 15:57:40 +00:00
emmc.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
fadt.c soc/intel/braswell/fadt.c: Use ACPI_ADDRESS_SPACE_IO macro 2020-07-28 10:53:55 +00:00
gfx.c {sb,soc}/intel/**/*.c: Use macros for PCI COMMAND bits 2020-07-26 21:17:50 +00:00
gpio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gpio_support.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
iosf.c soc/intel/{baytrail,braswell}: Drop unneeded return 2020-07-25 10:19:14 +00:00
Kconfig cpu,soc/intel: Drop select SMP 2020-07-26 20:59:52 +00:00
lpc_init.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lpe.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
lpss.c {sb,soc}/intel/**/*.c: Use macros for PCI COMMAND bits 2020-07-26 21:17:50 +00:00
Makefile.inc soc/intel/braswell: Move acpi_fill_fadt to fadt.c 2020-07-14 22:33:56 +00:00
memmap.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
northcluster.c soc/intel/braswell/northcluster.c: Tidy up long lines 2020-08-02 12:03:04 +00:00
pcie.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
placeholders.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pmutil.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ramstage.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
sata.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
scc.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
sd.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
smbus.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c SMM: Validate more user-provided pointers 2020-08-21 07:51:07 +00:00
smm.c ACPI: Replace smm_setup_structures() 2020-06-24 11:49:15 +00:00
southcluster.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
tsc_freq.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
xhci.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00