Skip to content

tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

Jarkko Sakkinen linux-integrity lkml stable 1 version Applied

Status from this message: I've queued it up for 4.19 and 4.14, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3tpm: migrate pubek_show to struct tpm_bufdrivers/char/tpm/tpm-sysfs.c drivers/char/tpm/tpm.h+48 -520 replies
2/3tpm: use tpm_try_get_ops() in tpm-sysfs.c.drivers/char/tpm/tpm-sysfs.c+83 -510 replies
3/3tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operationsdrivers/char/tpm/tpm-chip.c+3 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchStefan BergerJerry SnitselaarJames BottomleyAlexander SteffenJarkko Sakkinen
1/3
2/3R-b T-b R-b R-b T-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

commit db4d8cb9c9f2af71c4d087817160d866ed572cc9 upstream

This backport is for v4.14 and v4.19 The backport requires non-racy behaviour from TPM 1.x sysfs code. Thus, the dependecies for that are included.

NOTE: 1/3 is only needed for v4.14.

Jarkko Sakkinen (2):
tpm: migrate pubek_show to struct tpm_buf
tpm: use tpm_try_get_ops() in tpm-sysfs.c.

Vadim Sukhomlinov (1):
tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

 drivers/char/tpm/tpm-chip.c  |   3 +
 drivers/char/tpm/tpm-sysfs.c | 201 +++++++++++++++++++++--------------
 drivers/char/tpm/tpm.h       |  13 ---
 3 files changed, 124 insertions(+), 93 deletions(-)
Signature · 1 line
2.20.1