mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] TPM DEVICE DRIVER changes for v7.4-rc3
@ 2026-11-12  0:18 Jarkko Sakkinen
  0 siblings, 0 replies; only message in thread
From: Jarkko Sakkinen @ 2026-11-12  0:18 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Peter Huewe, Jason Gunthorpe, David Howells, keyrings,
	linux-integrity, linux-kernel

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(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12  0:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  0:18 [GIT PULL] TPM DEVICE DRIVER changes for v7.4-rc3 Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®