diff options
| author | Richard Lyu <richard.lyu@suse.com> | 2026-07-08 05:17:41 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-07-21 00:50:57 +0300 |
| commit | b65fd21591230233f53d2cfb22c42d4605054902 (patch) | |
| tree | 0b2dcd44354396a8213fe927e705683851592597 /MdeModulePkg/Library/PiDxeS3BootScriptLib | |
| parent | 070c9026f754b2c0b88445c8638eed0609673ccc (diff) | |
| download | edk2-b65fd21591230233f53d2cfb22c42d4605054902.tar.xz | |
SecurityPkg/DxeTpmMeasureBootLib: Use GptLib parser
TcgMeasureGptTable() reads the primary GPT header directly from LBA 1
and validates it with field checks only: no header CRC32, no
partition-entry-array CRC32 and no backup fallback. This is the same
divergence between the measured and the parsed partition table that
CVE-2024-13745 reports against DxeTpm2MeasureBootLib, and the tracking
issue lists both libraries as affected.
Mirror the DxeTpm2MeasureBootLib fix: select the GPT header to measure
via the shared GptLib parser. Validate the current primary GPT or, when
it is invalid, validate the backup and the header at its AlternateLBA.
Do not extend PCR[5] if no valid header can be selected.
Signed-off-by: Richard Lyu <richard.lyu@suse.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions
