[GIT PULL] TPM DEVICE DRIVER: for-next-keys-7.2-rc1

From: Jarkko Sakkinen

Date: Thu Jun 18 2026 - 20:59:23 EST


The following changes since commit 0e0611827f3349d0a2ac121c023a6d3260dcecdb:

Merge tag 'pull-fixes' of gitolite.kernel.org:pub/scm/linux/kernel/git/viro/vfs (2026-06-15 15:53:57 +0530)

are available in the Git repository at:

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

for you to fetch changes up to 1b9524250996b1f2f49833a1b2ae21c34e486f85:

keys: keyctl_pkey: replace BUG with return -EOPNOTSUPP (2026-06-15 15:19:13 +0300)

----------------------------------------------------------------
Hi

Please, pull. This pull request contains only fixes.

BR, Jarkko

----------------------------------------------------------------
David Laight (1):
keys: Replace strcpy(derived_buf, "AUTH_KEY") with strscpy(..., HASH_SIZE)

Eric Biggers (1):
KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNG

Gui-Dong Han (1):
KEYS: Use acquire when reading state in keyring search

Jarkko Sakkinen (2):
KEYS: fix overflow in keyctl_pkey_params_get_2()
KEYS: trusted: Debugging as a feature

Len Bao (1):
keys/trusted_keys: mark 'migratable' as __ro_after_init

Mohammed EL Kadiri (3):
keys: prevent slab cache merging for key_jar
keys: request_key: replace BUG with return -EINVAL
keys: keyctl_pkey: replace BUG with return -EOPNOTSUPP

Shaomin Chen (1):
keys: Pin request_key_auth payload in instantiate paths

Thorsten Blum (1):
keys: use kmalloc_flex in user_preparse

Documentation/admin-guide/kernel-parameters.txt | 16 +++++++++
include/keys/request_key_auth-type.h | 2 ++
include/keys/trusted-type.h | 21 +++++++-----
security/keys/Kconfig | 1 -
security/keys/encrypted-keys/encrypted.c | 4 +--
security/keys/internal.h | 2 ++
security/keys/key.c | 2 +-
security/keys/keyctl.c | 24 ++++++++++----
security/keys/keyctl_pkey.c | 14 ++++++--
security/keys/keyring.c | 2 +-
security/keys/request_key.c | 2 +-
security/keys/request_key_auth.c | 33 +++++++++++++++++--
security/keys/trusted-keys/Kconfig | 23 +++++++++++++
security/keys/trusted-keys/trusted_caam.c | 7 ++--
security/keys/trusted-keys/trusted_core.c | 8 ++++-
security/keys/trusted-keys/trusted_tpm1.c | 44 ++++++++++++++-----------
security/keys/user_defined.c | 2 +-
17 files changed, 158 insertions(+), 49 deletions(-)