Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Wed, 25 Nov 2026 15:30
Re: [PATCH mptcp-net] mptcp: gate diag sequence counters on CAP_NET_ADMIN
Author: patchwork-bot+netdevbpf
Date: Wed, 25 Nov 2026 15:30
Date: Wed, 25 Nov 2026 15:30
28 lines
8799 bytes
8799 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads