Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 1169122c6f22d4db3e44b7b720480522b6933a62
https://github.com/tianocore/edk2/commit/1169122c6f22d4db3e44b7b720480522b6933a62
Author: Oliver Smith-Denny <[email protected]>
Date: 2024-08-29 (Thu, 29 Aug 2024)
Changed paths:
M
MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDeviceIo.c
Log Message:
-----------
MdeModulePkg NonDiscoverablePciDeviceIo: MMIO Memory XP By Default
When allocating memory for a non-discoverable PCI device's IO, the
current core code removes the XP attribute, allowing code to execute
from that region. This is a security vulnerability and unneeded. This
change updates to mark the region as XP when allocating memory for the
non-discoverable PCI device.
These allocations in this function are limited to `EfiBootServicesData`
and `EfiRuntimeServicesData`, which we expect to be XP.
Signed-off-by: Aaron Pop <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits