Skip to content

Fix bugs related to TPM2 event log

Stefan Berger linux-integrity linux-security-module lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Revised patches 1 & 2

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tpm: efi: Use local variable for calculating final log sizedrivers/char/tpm/eventlog/efi.c+21 -85 replies
2/3tpm: acpi: Check eventlog signature before using itdrivers/char/tpm/eventlog/acpi.c+32 -11 reply
3/3tpm: vtpm_proxy: Avoid reading host log when using a virtual devicedrivers/char/tpm/eventlog/common.c+3 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Fix bugs related to TPM2 event log

This series of patches fixes a couple of issues related to TPM2 event logs, such as the disappearance of the TPM2 log on QEMU machines running with UEFI (my fault) and a kernel fault due to an integer under- flow when reading the TPM 2 log multiple times.

Regards,
Stefan

v1->v2:
- Revised patches 1 & 2

Stefan Berger (3):
tpm: efi: Use local variable for calculating final log size
tpm: acpi: Check eventlog signature before using it
tpm: vtpm_proxy: Avoid reading host log when using a virtual device

 drivers/char/tpm/eventlog/acpi.c   | 33 +++++++++++++++++++++++++++++-
 drivers/char/tpm/eventlog/common.c |  3 +++
 drivers/char/tpm/eventlog/efi.c    | 29 ++++++++++++++++++--------
 3 files changed, 56 insertions(+), 9 deletions(-)
Signature · 1 line
2.29.2