[PATCH v6 09/13] rxrpc: Release conn->key when init_connection_security() fails

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 12 04:31:34 UTC 2026


> Clear conn->key before calling key_put() when init_connection_security()
> fails, and pair with READ_ONCE() in rxrpc_connection_seq_show().
> 
> Fixes: 17926a79320a ("[AF_RXRPC]: Provide secure RxRPC sockets for use by userspace and kernel both")
> 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/20261112040242.247168-1-jarkko@kernel.org?part=9




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