audk/MdeModulePkg/Universal/Variable
Abhi Singh 63923a5642 MdeModulePkg/Variable: TcgMorLockSmm Key Mismatch changes lock state
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4410

Inside TcgMorLockSmm.c, the SetVariableCheckHandlerMorLock() function
contains a scenario to prevent a possible dictionary attack on the MorLock
Key in accordance with the TCG Platform Reset Mitigation Spec v1.10.

The mechanism to prevent this attack must also change the MorLock Variable
Value to 0x01 to indicate Locked Without Key.

ASSERT_EFI_ERROR is added for error visibility since SetMorLockVariable
returns a status code

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Abhi Singh <Abhi.Singh@arm.com>

Acked-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2023-07-10 12:24:59 +00:00
..
MmVariablePei MdeModulePkg: Variable: Introduce MM based variable read service in PEI 2023-06-28 19:35:43 +00:00
Pei MdeModulePkg/Variable: Consume Variable Flash Info 2022-05-19 06:11:20 +00:00
RuntimeDxe MdeModulePkg/Variable: TcgMorLockSmm Key Mismatch changes lock state 2023-07-10 12:24:59 +00:00