Files
linux/drivers
Jarkko Sakkinen c0201ae679 tpm: fix a race condition in tpm2_unseal_trusted()
commit d4816edfe7 upstream.

Unseal and load operations should be done as an atomic operation. This
commit introduces unlocked tpm_transmit() so that tpm2_unseal_trusted()
can do the locking by itself.

Fixes: 0fe5480303 ("keys, trusted: seal/unseal with TPM 2.0 chips")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-16 17:36:15 +02:00
..
2015-10-12 19:56:27 -07:00
2016-09-24 10:07:35 +02:00
2016-10-07 15:23:41 +02:00
2015-11-08 16:24:43 -05:00
2016-08-20 18:09:22 +02:00