Closed kuqin12 closed 1 month ago
@lgao4 Could you please review the PR and provide feedback when you have a chance? Thanks!
@mergify refresh
refresh
@mergify queue
queue
@mergify rebase
rebase
@mergify refresh
refresh
@mergify queue
queue
Description
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2411
With Use-After-Free heap guard feature enabled, the DxeCore would blindly attempt to "level-up" when the
GuardAllFreedPages
inspect a non-max level table entry from the last loop. This could cause the next round of inspection to dereference a potentially null pointer and as such causing a page fault.This change adds a null pointer check to prevent such case from happening.
How This Was Tested
This is tested on QEMU based virtual platforms.
Integration Instructions
N/A