Thread (38 messages) 38 messages, 3 authors, 2018-12-03

Re: [PATCH v5 6/7] tpm: ensure that the output of PCR read contains the correct digest size

From: Jarkko Sakkinen <hidden>
Date: 2018-11-16 13:42:00
Also in: linux-integrity, lkml, stable

On Wed, Nov 14, 2018 at 04:31:07PM +0100, Roberto Sassu wrote:
This patch protects against data corruption that could happen in the bus,
by checking that that the digest size returned by the TPM during a PCR read
matches the size of the algorithm passed to tpm2_pcr_read().

This check is performed after information about the PCR banks has been
retrieved.

Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Jarkko Sakkinen <redacted>
Cc: stable@vger.kernel.org
Missing fixes tag.

/Jarkko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help