[RFC PATCH v2 02/11] nvme-keyring: Add a missing key_put() call to nvme_tls_key_lookup()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Nov 4 03:03:03 UTC 2026
> Call key_put() before returning -EKEYREVOKED, as the reference count gets
> incremented by key_lookup().
>
> Cc: stable at vger.kernel.org # v6.12+
> Fixes: 5bc46b49c828 ("nvme-tcp: check for invalidated or revoked key")
> 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/20261103030226.2685251-1-jarkko@kernel.org?part=2
More information about the Linux-security-module-archive
mailing list