Commit 5888d706750d for kernel
commit 5888d706750d0e5dce374c01d2c656bbfe2045be
Merge: 9437ee8b6cf6 1bcff832c48d
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Fri Nov 27 08:46:06 2026 -0800
Merge tag 'keys-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull keys fixes from Jarkko Sakkinen:
- 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.
- keyctl_pkey: fix user buffer bounds in keyctl_pkey_e_d_s() and
keyctl_pkey_verify(), and zero temporary buffers with
kfree_sensitive().
- Key instantiation: take key->sem during instantiation and rejection
to serialize key->user access against keyctl_chown_key().
- 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.
* tag 'keys-v7.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
KEYS: Fix crash on big_key read
KEYS: Use kfree_sensitive() in keyctl_pkey_e_d_s()
KEYS: trusted: caam: propagate protected key option parsing errors
KEYS: Fix asym key overflow in keyctl_pkey_verify()
KEYS: Fix userspace buffer overflow in keyctl_pkey_e_d_s()
KEYS: serialise key instantiation against keyctl_chown_key()
KEYS: trusted: TEE: Disable sysfs bind attributes
KEYS: trusted: TEE: Synchronize session lifetime
KEYS: trusted: Update static calls before init