Files
linux-stable-mirror/include/linux
Jarkko Sakkinen 7ca110f267 tpm: Address !chip->auth in tpm_buf_append_hmac_session*()
Unless tpm_chip_bootstrap() was called by the driver, !chip->auth can
cause a null derefence in tpm_buf_hmac_session*().  Thus, address
!chip->auth in tpm_buf_hmac_session*() and remove the fallback
implementation for !TCG_TPM2_HMAC.

Cc: stable@vger.kernel.org # v6.9+
Reported-by: Stefan Berger <stefanb@linux.ibm.com>
Closes: https://lore.kernel.org/linux-integrity/20240617193408.1234365-1-stefanb@linux.ibm.com/
Fixes: 1085b8276b ("tpm: Add the rest of the session HMAC API")
Tested-by: Michael Ellerman <mpe@ellerman.id.au> # ppc
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2024-07-05 02:12:27 +03:00
..
2024-06-18 14:48:27 +01:00
2024-06-24 18:29:20 +02:00
2024-05-19 14:36:17 -07:00
2024-05-19 14:40:44 -07:00
2024-06-21 13:33:17 +02:00
2024-06-05 19:19:26 -07:00
2024-06-24 20:52:09 -07:00