mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
Pull TPM fixes from Jarkko Sakkinen: - Add the missing check of the return value of crypto_kpp_set_secret() when creating an authenticated HMAC session - Check the payload size of EVENT_TAG entries before reading them, in order to avoid out-of-bounds reads with a truncated TPM 1.x event log - Flush the timeout work outside buffer_mutex in tpm_common_read(), as the work itself takes the same mutex, which can lead to a deadlock - Fix a memory leak of the event log buffer in the error path of tpm_read_log_acpi() * tag 'tpm-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: tpm: acpi: Fix memory leak at tpm_read_log_acpi() error path tpm: flush timeout work outside buffer_mutex to avoid deadlock tpm: eventlog: check the payload size before reading tag events tpm: Check return value of crypto_kpp_set_secret()