Skip to content
Commit ffde2246 authored by Guomin Jiang's avatar Guomin Jiang Committed by mergify[bot]
Browse files

SecurityPkg/TcgPei: Use Migrated FV Info Hob for calculating hash (CVE-2019-11098)

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1614



When we allocate pool to save rebased the PEIMs, the address will change
randomly, therefore the hash will change and result PCR0 change as well.
To avoid this, we save the raw PEIMs and use it to calculate hash.
The TcgPei calculate the hash and it use the Migrated FV Info.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: default avatarGuomin Jiang <guomin.jiang@intel.com>
Reviewed-by: default avatarJian J Wang <jian.j.wang@intel.com>
Reviewed-by: default avatarQi Zhang <qi1.zhang@intel.com>
Reviewed-by: default avatarLiming Gao <liming.gao@intel.com>
parent 92c19c68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment