[PATCH v11 1/6] s390/cert_store: Pin the user session keyring

sashiko-bot at kernel.org sashiko-bot at kernel.org
Sat Nov 14 16:29:43 UTC 2026


> The user session keyring stays alive only because the session keyring is
> pinned by current_cred().
> 
> Pin the reference at:
> 
> 1. find_cs_keyring()
> 2. cleanup_cs_keys()
> 3. create_cs_keyring()
> 
> Cc: David Howells <dhowells at redhat.com>
> Cc: stable at vger.kernel.org # v6.1+
> Fixes: 8cf57d7217c3 ("s390: add support for user-defined certificates")
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261114161211.376859-1-jarkko@kernel.org?part=1




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