Re: [PATCH net-next] rxrpc: Reject unsecured calls to userspace services with a minimum level
From: Andrew Stellman
Date: Fri Nov 27 2026 - 19:40:51 EST
Thanks. The High and Medium points are fair.
High: I left rxkad and rxgk out and mentioned it below the ---. A v2
can check the negotiated level against min_sec_level in
rxkad_verify_response() and the rxgk verify path too.
Medium: right, kAFS sets ENCRYPT on its CM socket, which also takes
callbacks, so for kernel sockets the option only governs outgoing
calls. A userspace program built the same way would have its incoming
unsecured calls rejected by this patch.
David, which would you prefer: enforce the minimum on incoming calls
for userspace service sockets (NONE, rxkad and rxgk, with its own abort
reason, a Fixes: tag and a rxrpc.rst update), or document
RXRPC_MIN_SECURITY_LEVEL as applying to outgoing calls only? I'll send
a v2 either way.
pw-bot: cr