Netdev List
 help / color / mirror / Atom feed
From: Andrew Stellman <bugs@stellman-greene.com>
To: netdev-bot+sashiko@kernel.org
Cc: David Howells <dhowells@redhat.com>,
	Marc Dionne <marc.dionne@auristor.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>,
	linux-afs@lists.infradead.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] rxrpc: Reject unsecured calls to userspace services with a minimum level
Date: Fri, 27 Nov 2026 19:40:36 -0500	[thread overview]
Message-ID: <20261128004036.50389-1-bugs@stellman-greene.com> (raw)
In-Reply-To: <179582184048.3135.8278153392391816452@kernel.org>

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

      reply	other threads:[~2026-11-28  0:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 22:41 [PATCH net-next] rxrpc: Reject unsecured calls to userspace services with a minimum level Andrew Stellman
2026-11-27 23:24 ` netdev-bot+sashiko
2026-11-28  0:40   ` Andrew Stellman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261128004036.50389-1-bugs@stellman-greene.com \
    --to=bugs@stellman-greene.com \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.dionne@auristor.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox