Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 63923a5642e86f386a5c719a90cfc6a929ea9cb0
      
https://github.com/tianocore/edk2/commit/63923a5642e86f386a5c719a90cfc6a929ea9cb0
  Author: Abhi Singh <[email protected]>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M MdeModulePkg/Universal/Variable/RuntimeDxe/TcgMorLockSmm.c

  Log Message:
  -----------
  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 <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Abhi Singh <[email protected]>

Acked-by: Michael Kubacki <[email protected]>
Reviewed-by: Liming Gao <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to