summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
diff options
context:
space:
mode:
authorStanislaw Grams <stanislaw.grams@intel.com>2026-09-16 16:55:43 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-10-23 05:04:33 +0300
commitdabb4726988590e2db237d5caab6998b3c2c84ef (patch)
tree072ebe7e30c697e41618d09ddfa5bced6aad76ed /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c
parenta36bdc97ab558c424ed40f954c2e2218a3380723 (diff)
downloadedk2-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/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions