edk2/MdeModulePkg/Bus
Oliver Smith-Denny 1169122c6f 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 <aaronpop@microsoft.com>
2024-08-29 16:11:40 +00:00
..
Ata MdeModulePkg: Update ReceiveData and SendData function description 2024-03-13 02:48:38 +00:00
I2c/I2cDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Isa MdeModulePkg: Update the comments of ReadKeyStroke and ReadKeyStrokeEx 2024-04-03 10:25:06 +08:00
Pci MdeModulePkg NonDiscoverablePciDeviceIo: MMIO Memory XP By Default 2024-08-29 16:11:40 +00:00
Scsi MdeModulePkg: Update ReceiveData and SendData function description 2024-03-13 02:48:38 +00:00
Sd MdeModulePkg: Update ReceiveData and SendData function description 2024-03-13 02:48:38 +00:00
Spi MdeModulePkg: SpiHc: SpiHc Drivers 2024-05-08 04:43:58 +00:00
Ufs MdeModulePkg/UfsPassThruDxe: Migrate UFS Initial Completion Timeout to PCD 2024-07-30 20:55:09 +00:00
Usb MdeModulePkg/UsbBusDxe: USB issue fix when the port reset 2024-07-03 12:23:26 +00:00