diff options
| author | Stanislaw Grams <stanislaw.grams@intel.com> | 2026-09-16 16:55:43 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-23 05:04:33 +0300 |
| commit | dabb4726988590e2db237d5caab6998b3c2c84ef (patch) | |
| tree | 072ebe7e30c697e41618d09ddfa5bced6aad76ed /MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h | |
| parent | a36bdc97ab558c424ed40f954c2e2218a3380723 (diff) | |
| download | edk2-dabb4726988590e2db237d5caab6998b3c2c84ef.tar.xz | |
OvmfPkg/PeilessStartupLib: Fail closed on Secure Boot store init error
InitializePlatform() called PlatformInitEmuVariableNvStore() and discarded
its return value. That store holds the authenticated Secure Boot variables
(PK/KEK/db/dbx) that gate image verification, and it is populated from a
flash template that can be influenced through the untrusted fw_cfg path. If
initialization failed the boot continued with an unverified Secure Boot
configuration.
Propagate the failure out of InitializePlatform() so the pei-less startup
dead-loops instead of proceeding with an invalid variable store.
Signed-off-by: Stanislaw Grams <stanislaw.grams@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/InternalBootScriptLib.h')
0 files changed, 0 insertions, 0 deletions
