Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Dominik Maier <dmnk@google.com>
Cc: matttbe@kernel.org, martineau@kernel.org, geliang@kernel.org,
	pabeni@redhat.com, mptcp@lists.linux.dev, netdev@vger.kernel.org,
	dmnk+artist@google.com
Subject: Re: [PATCH mptcp-net] mptcp: gate diag sequence counters on CAP_NET_ADMIN
Date: Wed, 25 Nov 2026 15:30:13 +0000	[thread overview]
Message-ID: <179562061310.619539.2248917862989217647.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261119192159.2646113-1-dmnk@google.com>

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 19 Nov 2026 20:21:59 +0100 you wrote:
> In net/mptcp/diag.c, subflow_get_info() restricts MPTCP sequence-related
> subflow attributes (rel_write_seq, map_seq, map_subflow_seq, ssn_offset)
> to callers holding CAP_NET_ADMIN in the network namespace.
> 
> However, mptcp_diag_get_info() unconditionally exports mptcpi_write_seq,
> mptcpi_snd_una, and mptcpi_rcv_nxt via INET_DIAG_INFO because
> .idiag_get_info does not receive the caller's net_admin status. Any
> unprivileged local user can therefore dump or query cross-UID MPTCP
> sockets by token via SOCK_DIAG_BY_FAMILY and read live 64-bit MPTCP Data
> Sequence Numbers.
> 
> [...]

Here is the summary with links:
  - [mptcp-net] mptcp: gate diag sequence counters on CAP_NET_ADMIN
    https://git.kernel.org/netdev/net/c/7ed616970b65

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-11-25 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 19:21 [PATCH mptcp-net] mptcp: gate diag sequence counters on CAP_NET_ADMIN Dominik Maier
2026-11-24 11:17 ` Matthieu Baerts
2026-11-25  4:51   ` Kalpan Jani
2026-11-25  8:45     ` Matthieu Baerts
2026-11-25 15:30 ` patchwork-bot+netdevbpf [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=179562061310.619539.2248917862989217647.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=dmnk+artist@google.com \
    --cc=dmnk@google.com \
    --cc=geliang@kernel.org \
    --cc=martineau@kernel.org \
    --cc=matttbe@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --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