Files
linux/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-04-24 11:06:26 -07:00
2024-04-25 20:55:49 -07:00
2024-06-18 14:48:27 +01:00
2024-05-02 20:35:57 +02:00
2024-04-17 08:44:03 -06:00
2024-04-29 16:28:07 -07:00
2024-06-24 18:29:20 +02:00
2024-04-23 09:03:37 +09:00
2024-05-05 17:53:55 -07:00
2024-05-11 00:41:15 +00:00
2024-04-15 16:03:24 -04:00
2024-05-09 13:02:39 +02:00
2024-05-19 14:36:17 -07:00
2024-05-19 14:40:44 -07:00
2024-04-23 13:16:03 +02:00
2024-06-21 13:33:17 +02:00
2024-06-05 19:19:26 -07:00
2024-05-03 10:44:42 +01:00
2024-06-24 20:52:09 -07:00
2024-05-05 17:53:49 -07:00
2024-04-15 19:43:48 +02:00
2024-05-02 16:28:15 +02:00
2024-05-04 18:57:21 +02:00
2024-05-06 12:05:00 +02:00
2024-04-25 20:55:48 -07:00