edk2/MdeModulePkg/Bus/Pci
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
..
EhciDxe MdeModulePkg/Bus/Pci/EhciDxe: Fix FORWARD_NULL Coverity issues 2023-07-17 02:19:45 +00:00
EhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IdeBusPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
NonDiscoverablePciDeviceDxe MdeModulePkg NonDiscoverablePciDeviceIo: MMIO Memory XP By Default 2024-08-29 16:11:40 +00:00
NvmExpressDxe MdeModulePkg: NvmExpressDxe: Add Timeout Status Codes 2024-07-31 04:09:49 +00:00
NvmExpressPei MdeModulePkg/Bus/Pci/NvmExpressPei: Fix DEADCODE Coverity issue 2023-09-20 06:49:52 +00:00
PciBusDxe MdeModulePkg/PciBusDxe: Add feedback status for PciIoMap 2024-01-25 09:45:03 +00:00
PciHostBridgeDxe MdeModulePkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
PciSioSerialDxe MdeModulePkg: Fix spelling error in PciSioSerialDxe 2022-10-25 22:30:33 +00:00
SataControllerDxe MdeModulePkg/SataControllerDxe: Fix up ASSERTS (Private != NULL) 2023-06-01 18:08:33 +00:00
SdMmcPciHcDxe MdeModulePkg SdMmcPciHcDxe: SD/MMC capability debug print is incorrect 2023-05-29 04:37:03 +00:00
SdMmcPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcDxe MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UfsPciHcPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
UhciDxe MdeModulePkg/Bus/Pci/UhciDxe: Fix FORWARD_NULL Coverity issues 2023-09-22 04:56:35 +00:00
UhciPei MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XhciDxe MdeModulePkg/XhciDxe: Add PCD for the delay of HCRST 2024-05-07 04:48:09 +00:00
XhciPei MdeModulePkg/Xhci: Skip another size round up for TRB address 2024-03-22 12:47:04 +08:00