[GIT PULL] KEYS: trusted: keys-trusted-next-rc1

Jarkko Sakkinen jarkko at kernel.org
Sat Nov 29 21:09:48 UTC 2025


The following changes since commit e1afacb68573c3cd0a3785c6b0508876cd3423bc:

  Merge tag 'ceph-for-6.18-rc8' of https://github.com/ceph/ceph-client (2025-11-27 11:11:03 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/keys-trusted-next-rc1

for you to fetch changes up to 62cd5d480b9762ce70d720a81fa5b373052ae05f:

  KEYS: trusted: Fix a memory leak in tpm2_load_cmd (2025-11-29 22:57:30 +0200)

----------------------------------------------------------------
Hi,

This pull request includes couple of updates for trusted keys:

1. Remove duplicate 'tpm2_hash_map' and use the one in the drive via new
   function 'tpm2_find_hash_alg'.
2. Fix a memory leak on failure paths of 'tpm2_load_cmd'.

BR, Jarkko

----------------------------------------------------------------
Jarkko Sakkinen (2):
      KEYS: trusted: Replace a redundant instance of tpm2_hash_map
      KEYS: trusted: Fix a memory leak in tpm2_load_cmd

 drivers/char/tpm/tpm2-cmd.c               | 14 +++++++++++++-
 include/linux/tpm.h                       |  1 +
 security/keys/trusted-keys/trusted_tpm2.c | 29 ++++++++---------------------
 3 files changed, 22 insertions(+), 22 deletions(-)



More information about the Linux-security-module-archive mailing list