coreboot/src
Patrick Rudolph 6093c5099f security/lockdown: Write-protect WP_RO
Allow to write protect only the WP_RO region in case of enabled VBOOT.
One can either lock the boot device in VERSTAGE early if VBOOT is enabled,
or late in RAMSTAGE. Both options have their downsides as explained below.

Lock early if you don't trust the code that's stored in the writeable
flash partition. This prevents write-protecting the MRC cache, which
is written in ramstage. In case the contents of the MRC cache are
corrupted this can lead to system instability or trigger unwanted code
flows inside the firmware.

Lock late if you trust the code that's stored in the writeable
flash partition. This allows write-protecting the MRC cache, but
if a vulnerability is found in the code of the writeable partition
an attacker might be able to overwrite the whole flash as it hasn't
been locked yet.

Change-Id: I72c3e1a0720514b9b85b0433944ab5fb7109b2a2
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/+/32705
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
2020-04-28 01:20:43 +00:00
..
acpi
arch arch/x86/acpigen: Add helpers for generating _ADR 2020-04-27 18:56:34 +00:00
commonlib rules.h: Rename ENV_VERSTAGE to ENV_SEPARATE_VERSTAGE 2020-04-23 01:21:56 +00:00
console drivers/pc80/rtc: Drop CMOS_POST_EXTRA option 2020-04-20 06:13:39 +00:00
cpu src/cpu: Use SPDX for GPL-2.0-only files 2020-04-04 14:59:17 +00:00
device device: Add helper function to find matching device on bus 2020-04-22 19:14:51 +00:00
drivers drivers/spi/tpm: Add support for non CR50 SPI TPM2 2020-04-28 01:19:15 +00:00
ec mb/lenovo/{x201,t410}: Move ThinkLight code 2020-04-25 15:28:45 +00:00
include security/lockdown: Write-protect WP_RO 2020-04-28 01:20:43 +00:00
lib rules.h: Rename ENV_VERSTAGE to ENV_SEPARATE_VERSTAGE 2020-04-23 01:21:56 +00:00
mainboard mb/google/deltaur: Enable DRIVERS_I2C_HID for Touchpad 2020-04-27 19:37:50 +00:00
northbridge amd/agesa: Make BottomIo position configurable 2020-04-22 13:49:05 +00:00
security security/lockdown: Write-protect WP_RO 2020-04-28 01:20:43 +00:00
soc soc/intel/apollolake: Avoid CONFIG_PCIEX_LENGTH_256MB selection 2020-04-26 08:01:17 +00:00
southbridge security: Add common boot media write protection 2020-04-28 01:19:32 +00:00
superio Drop unnecessary DEVICE_NOOP entries 2020-04-10 11:25:04 +00:00
vendorcode vc/eltan/security/verified_boot/vboot_check.c: Correct code style 2020-04-24 08:25:27 +00:00
Kconfig src/Kconfig: enable USE_BLOBS by default 2020-04-14 10:03:55 +00:00