audk/MdeModulePkg
Guomin Jiang 1facb8fdef MdeModulePkg: Add new PCD to control the evacuate temporary memory feature (CVE-2019-11098)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1614

The security researcher found that we can get control after NEM disable.

The reason is that the flash content reside in NEM at startup and the
code will get the content from flash directly after disable NEM.

To avoid this vulnerability, the feature will copy the PEIMs from
temporary memory to permanent memory and only execute the code in
permanent memory.

The vulnerability is exist in physical platform and haven't report in
virtual platform, so the virtual can disable the feature currently.

When enable the PcdMigrateTemporaryRamFirmwareVolumes, always shadow
all PEIMs no matter the condition of PcdShadowPeimOnBoot or
PcdShadowPeimOnS3Boot.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
2020-07-28 01:43:16 +00:00
..
Application MdeModulePkg: Sets the Cursor to selected BootOption. 2020-06-10 03:26:43 +00:00
Bus MdeModulePkg/UfsPassThruDxe: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
Core MdeModulePkg: Add New Memory Attributes 2020-07-15 14:58:25 +00:00
Include MdeModulePkg/VariableSmmRuntimeDxe: switch to MM communicate 2 2020-05-12 19:23:44 +00:00
Library MdeModulePkg/DxeCorePerformanceLib: Switch to UnicodeStrnToAsciiStrS 2020-07-21 14:47:24 +00:00
Logo MdeModulePkg/Logo:Add RISCV64 architecture 2020-05-07 03:17:15 +00:00
Test MdeModulePkg: Add DxeResetSystemLib unit test 2020-02-07 19:18:53 +00:00
Universal MdeModulePkg/DisplayEngine: Add Debug message to show mismatch menu info 2020-07-16 04:26:51 +00:00
MdeModulePkg.ci.yaml MdeModulePkg/RegularExpressionDxe: Make oniguruma a submodule in edk2. 2020-04-13 01:26:12 +00:00
MdeModulePkg.dec MdeModulePkg: Add new PCD to control the evacuate temporary memory feature (CVE-2019-11098) 2020-07-28 01:43:16 +00:00
MdeModulePkg.dsc MdeModulePkg: Use LockBoxNullLib for RISC-V 2020-04-03 17:09:12 +00:00
MdeModulePkg.uni MdeModulePkg: Add new PCD to control the evacuate temporary memory feature (CVE-2019-11098) 2020-07-28 01:43:16 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00