audk/MdeModulePkg/Core/Pei
Michael Kubacki c19d18136e MdeModulePkg/Core/Pei: Fix pointer size mismatch in EvacuateTempRam()
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3512

In 32-bit PEI, the local variable pointers MigratedFvHeader and
RawDataFvHeader in EvacuateTempRam() will be 32-bit in size. The
pointers are currently passed to PeiServicesAllocatePages() which
expects a 64-bit output buffer of type EFI_PHYSICAL_ADDRESS.

When PeiServicesAllocatePages() writes to the buffer, the data
can overflow.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Dandan Bi <dandan.bi@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-09-16 01:51:36 +00:00
..
BootMode MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
CpuIo MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Dependency MdeModulePkg PeiCore: Improve comment semantics 2019-12-11 07:00:10 +00:00
Dispatcher MdeModulePkg/Core/Pei: Fix pointer size mismatch in EvacuateTempRam() 2021-09-16 01:51:36 +00:00
FwVol MdeModulePkg/Core/Pei: Fix various typos 2020-02-10 22:30:07 +00:00
Hob MdeModulePkg/Core/Pei: Fix various typos 2020-02-10 22:30:07 +00:00
Image PeiCore: Remove assertion when failing to load PE image 2021-06-16 07:51:00 +00:00
Memory MdeModulePkg/PeiCore: Enable T-RAM evacuation in PeiCore (CVE-2019-11098) 2020-07-28 01:43:16 +00:00
PciCfg2 MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PeiMain MdeModulePkg/PeiCore: Enable T-RAM evacuation in PeiCore (CVE-2019-11098) 2020-07-28 01:43:16 +00:00
Ppi MdeModulePkg: Fix undefined reference to memcpy with XCODE5 2020-12-04 02:59:38 +00:00
Reset MdeModulePkg/PeiMain: Change comments of PeiResetSystem2 2019-04-28 09:40:16 +08:00
Security MdeModulePkg PeiCore: Fix typos 2019-12-11 07:00:10 +00:00
StatusCode MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PeiCore.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PeiCoreExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PeiMain.h MdeModulePkg/Core/Pei: Fix typo in function descriptions 2021-09-16 01:51:36 +00:00
PeiMain.inf MdeModulePkg/Core: Create Migrated FV Info Hob for calculating hash (CVE-2019-11098) 2020-07-28 01:43:16 +00:00