Linux Integrity Measurement development
 help / color / mirror / Atom feed
* [GIT PULL] KEYS: changes for v7.4-rc5
@ 2026-11-26 19:30 Jarkko Sakkinen
  0 siblings, 0 replies; only message in thread
From: Jarkko Sakkinen @ 2026-11-26 19:30 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: David Howells, Herbert Xu, David S. Miller, James Bottomley,
	Mimi Zohar, Eric Biggers, keyrings, linux-integrity,
	linux-security-module

The following changes since commit 666539eecdf4db623f5e3c3e55cf9f2dfad24aa4:

  Merge tag 'assoc-array-fixes-v2' (2026-11-16 09:35:38 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags/keys-v7.4-rc5

for you to fetch changes up to 1bcff832c48d83c5132662bec83bda37f566d8a2:

  KEYS: Fix crash on big_key read (2026-11-24 19:48:15 +0200)

----------------------------------------------------------------
[GIT PULL] KEYS: changes for v7.4-rc5

The summary of bug fixes in this PR:

1. Trusted keys: initialize backend static calls before ->init(),
   synchronize TEE session lifetime against device removal (and disable
   sysfs bind/unbind), and propagate CAAM option parsing errors.
2. keyctl_pkey: fix user buffer bounds in keyctl_pkey_e_d_s() and
   keyctl_pkey_verify(), and zero temporary buffers with
   kfree_sensitive().
3. Key instantiation: take key->sem during instantiation and rejection
   to serialize key->user access against keyctl_chown_key().
4. big_key: instantiate the new payload before destroying the old one in
   big_key_update() so -EDQUOT cannot leave a positive key with a
   cleared payload.

As per SRCU fix that  I forwarded, I'll put that to linux-next after
this PR has been accepted to see how it flys at first.

Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>

----------------------------------------------------------------
Guicai Ma (2):
      KEYS: Fix userspace buffer overflow in keyctl_pkey_e_d_s()
      KEYS: Use kfree_sensitive() in keyctl_pkey_e_d_s()

Henry Martin (1):
      KEYS: Fix crash on big_key read

Jarkko Sakkinen (4):
      KEYS: trusted: Update static calls before init
      KEYS: trusted: TEE: Synchronize session lifetime
      KEYS: trusted: TEE: Disable sysfs bind attributes
      KEYS: Fix asym key overflow in keyctl_pkey_verify()

Keisuke Tsukuda (1):
      KEYS: trusted: caam: propagate protected key option parsing errors

Sinan Turunc (1):
      KEYS: serialise key instantiation against keyctl_chown_key()

 security/keys/big_key.c                   | 16 ++++--
 security/keys/key.c                       |  4 ++
 security/keys/keyctl_pkey.c               | 21 +++++---
 security/keys/trusted-keys/trusted_caam.c |  4 +-
 security/keys/trusted-keys/trusted_core.c | 15 ++++--
 security/keys/trusted-keys/trusted_tee.c  | 89 +++++++++++++++++++++++--------
 6 files changed, 110 insertions(+), 39 deletions(-)

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

only message in thread, other threads:[~2026-11-26 19:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 19:30 [GIT PULL] KEYS: changes for v7.4-rc5 Jarkko Sakkinen

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