REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1240

Tests:
a. Access freed pages in shell to see if it triggers #PF
b. Use debugger to verify page table attributes matching freed pages
c. Exhaust memory space to see if the BIOS still works

Regards,
Jian


> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org]
> Sent: Friday, October 19, 2018 9:50 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [PATCH 0/3] Add use-after-free memory detection
> 
> UAF (Use-After-Free) memory detection is new feature introduced to
> detect illegal access to memory which has been freed.
> 
> Jian J Wang (3):
>   MdeModulePkg/MdeModulePkg.dec: add new PCD for UAF detection feature
>   UefiCpuPkg/CpuDxe: fix an infinite loop issue
>   MdeModulePkg/Core: add use-after-free memory detection
> 
>  MdeModulePkg/Core/Dxe/DxeMain.h              |   1 +
>  MdeModulePkg/Core/Dxe/DxeMain.inf            |   1 +
>  MdeModulePkg/Core/Dxe/Gcd/Gcd.c              |   8 +
>  MdeModulePkg/Core/Dxe/Mem/HeapGuard.c        | 393
> ++++++++++++++++++++++++++-
>  MdeModulePkg/Core/Dxe/Mem/HeapGuard.h        |  66 +++++
>  MdeModulePkg/Core/Dxe/Mem/Page.c             |  39 ++-
>  MdeModulePkg/Core/Dxe/Mem/Pool.c             |  21 +-
>  MdeModulePkg/Core/Dxe/Misc/PropertiesTable.c |  16 +-
>  MdeModulePkg/MdeModulePkg.dec                |   6 +
>  UefiCpuPkg/CpuDxe/CpuPageTable.c             |  12 +
>  10 files changed, 537 insertions(+), 26 deletions(-)
> 
> --
> 2.16.2.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to