From: Jarkko Sakkinen <jarkko@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Huewe <peterhuewe@gmx.de>, Jason Gunthorpe <jgg@ziepe.ca>,
David Howells <dhowells@redhat.com>,
keyrings@vger.kernel.org, linux-integrity@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [GIT PULL] TPM DEVICE DRIVER changes for v7.4-rc3
Date: Thu, 12 Nov 2026 02:18:08 +0200 [thread overview]
Message-ID: <avUFwDt0ZQjf2os-@kernel.org> (raw)
The following changes since commit b3dfbde62cf1981c4638939c159dfd087b7a72e9:
Merge tag 'linux_kselftest-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest (2026-11-09 16:39:05 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/tpm-v7.4-rc3
for you to fetch changes up to 03fcb358249dc715124b3616f814ea0ecc6ec36c:
tpm: acpi: Fix memory leak at tpm_read_log_acpi() error path (2026-11-10 14:52:19 +0200)
----------------------------------------------------------------
[GIT PULL] TPM DEVICE DRIVER changes for v7.4-rc3
Briefly described this PR tag contains the following bug fixes:
1. Add the missing check of the return value of crypto_kpp_set_secret()
when creating an authenticated HMAC session.
2. 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.
3. 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.
4. Fix a memory leak of the event log buffer in the error path of
tpm_read_log_acpi().
No other bigger story here except as I've put tpm2-sessions.c to my private
"address the vector" TODO-list. It's something I'd really like to refurbish
in near future as secure boot enabled hibernate will also depend on it (an
upcoming feature).
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
----------------------------------------------------------------
Eric Biggers (1):
tpm: Check return value of crypto_kpp_set_secret()
Guanglei Zhu (1):
tpm: eventlog: check the payload size before reading tag events
Hyunjung Ko (1):
tpm: flush timeout work outside buffer_mutex to avoid deadlock
Takashi Iwai (1):
tpm: acpi: Fix memory leak at tpm_read_log_acpi() error path
drivers/char/tpm/eventlog/acpi.c | 4 +---
drivers/char/tpm/eventlog/tpm1.c | 7 +++++++
drivers/char/tpm/tpm-dev-common.c | 12 +++++++++++-
drivers/char/tpm/tpm2-sessions.c | 4 +++-
4 files changed, 22 insertions(+), 5 deletions(-)
next reply other threads:[~2026-11-12 0:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 0:18 Jarkko Sakkinen [this message]
2026-11-12 18:31 ` [GIT PULL] TPM DEVICE DRIVER changes for v7.4-rc3 pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=avUFwDt0ZQjf2os-@kernel.org \
--to=jarkko@kernel.org \
--cc=dhowells@redhat.com \
--cc=jgg@ziepe.ca \
--cc=keyrings@vger.kernel.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterhuewe@gmx.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.