diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-03-10 17:19:15 -0500 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2021-04-14 16:30:30 +0300 |
commit | 3dcd15665aca80197333500a4be3900948afccc1 (patch) | |
tree | 5237a95737241ace81cf57a951057e127a21d8c9 /lib/Makefile | |
parent | 48cff270b037022e37835d93361646205ca25101 (diff) |
tpm: acpi: Check eventlog signature before using it
Check the eventlog signature before using it. This avoids using an
empty log, as may be the case when QEMU created the ACPI tables,
rather than probing the EFI log next. This resolves an issue where
the EFI log was empty since an empty ACPI log was used.
Cc: stable@vger.kernel.org
Fixes: 85467f63a05c ("tpm: Add support for event log pointer found in TPM2 ACPI table")
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions