audk/MdeModulePkg
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
..
Application MdeModulePkg/SmiHandlerProfileInfo: Declare correct XML encoding 2024-07-17 01:06:00 +00:00
Bus MdeModulePkg NonDiscoverablePciDeviceIo: MMIO Memory XP By Default 2024-08-29 16:11:40 +00:00
Core MdeModulePkg: Gcd: Only Update gMemoryMap Attributes if Correct GCD Type 2024-08-29 12:30:12 +00:00
Include MdeModulePkg: Add MM Communication Buffer definition 2024-08-28 15:25:27 +00:00
Library MdeModulePkg/VariablePolicyLib: Use wildcard character constant 2024-07-22 11:52:02 +00:00
Logo MdeModulePkg/Logo: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Test MdeModulePkg: Update DumpImageRecord() in ImagePropertiesRecordLib 2023-11-27 18:55:18 +00:00
Universal MdeModulePkg/SmmCommunicationBufferDxe: Re-use FixedCommBuffer 2024-08-28 15:25:27 +00:00
MdeModulePkg.ci.yaml MdeModulePkg: Remove ArmPkg Dependency 2024-03-14 16:29:22 +00:00
MdeModulePkg.dec MdeModulePkg/MdeModulePkg.dec: Add PcdMmCommBufferPages PCD 2024-08-28 15:25:27 +00:00
MdeModulePkg.dsc MdeModulePkg: Add HobPrintLib instance 2024-07-07 10:12:36 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00