Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: c87ea4751991ecb107d72437f45b70e25734c927 https://github.com/tianocore/edk2/commit/c87ea4751991ecb107d72437f45b70e25734c927 Author: DeepakX Singh <deepakx.si...@intel.com> Date: 2025-06-09 (Mon, 09 Jun 2025)
Changed paths: M MdeModulePkg/Universal/HiiDatabaseDxe/Database.c Log Message: ----------- MdeModulePkg/HiiDatabaseDxe: Fix NULL Pointer access from EfiVarStore Issue : When user access "Boot Maintenance Manager Menu/Secure Boot Configuration Menu" with PcdNullPointerDetectionPropertyMask|0x03 and PcdHeapGuardPageType|0x7FFF protection policy set, we get X64 Exception Type - 0E(#PF - Page-Fault) Root cause : When user access "Boot Maintenance Manager Menu/Secure Boot Configuration Menu", BIOS calls FindQuestionDefaultSetting function and send EFI VarStore header pointer to AuthFindVariableData function. When header pointer is NULL, it send NULL pointer to AuthFindVariableData function and causes the page fault. Fix : Database.c: In function FindQuestionDefaultSetting, added NULL pointers check, so that when EFI VarStore header argument is passed to AuthFindVariableData function, NULL pointer access will not happen. Test: Cross verified while accessing the "Boot Maintenance Manager Menu/ Secure Boot Configuration Menu" page. Signed-off-by: DeepakX Singh <deepakx.si...@intel.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits