]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
efi/tpm: Differentiate missing and invalid final event log table.
authorMichal Suchanek <msuchanek@suse.de>
Thu, 8 Jul 2021 09:46:54 +0000 (11:46 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 16 Jul 2021 16:04:55 +0000 (18:04 +0200)
commit674a9f1f6815849bfb5bf385e7da8fc198aaaba9
tree0282c9bad85e08984197a33f6296787b5b8b48db
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
efi/tpm: Differentiate missing and invalid final event log table.

Missing TPM final event log table is not a firmware bug.

Clearly if providing event log in the old format makes the final event
log invalid it should not be provided at least in that case.

Fixes: b4f1874c6216 ("tpm: check event log version before reading final events")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/tpm.c