summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2018-10-24 10:26:07 +0800
committerJian J Wang <jian.j.wang@intel.com>2018-10-26 10:27:20 +0800
commit5323e918c39a04a872149737096db6ac9408f322 (patch)
treeca96fff0c536b7bca6bdff6a01ef2139edd1cc15 /UefiCpuPkg/CpuDxe
parenta6bde8a644694a69b66c0a2168fd7702176bbd46 (diff)
downloadedk2-5323e918c39a04a872149737096db6ac9408f322.tar.gz
edk2-5323e918c39a04a872149737096db6ac9408f322.tar.bz2
edk2-5323e918c39a04a872149737096db6ac9408f322.zip
MdeModulePkg: introduce UEFI freed-memory guard bit in HeapGuard PCD
UAF (Use-After-Free) memory issue is kind of illegal access to memory which has been freed. It can be detected by a new freed-memory guard enforced onto freed memory. BIT4 of following PCD is used to enable the freed-memory guard feature. gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask Please note this feature is for debug purpose and should not be enabled in product BIOS, and cannot be enabled with pool/page heap guard at the same time. It's disabled by default. Cc: Star Zeng <star.zeng@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/CpuDxe')
0 files changed, 0 insertions, 0 deletions