🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22625

Re: [PATCH mptcp-net] mptcp: gate diag sequence counters on CAP_NET_ADMIN

#22625
From: patchwork-bot+netdevbpf
Date: Wed, 25 Nov 2026 15:30
28 lines
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
Technical Details
Message-ID: <179562061310.619539.2248917862989217647.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371478-linux-kernel-netdev=dewy.ru
References: <20261119192159.2646113-1-dmnk@google.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371478-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH mptcp-net] mptcp: gate diag sequence counters on
 CAP_NET_ADMIN
Date: Wed, 25 Nov 2026 15:30:13 +0000
Organization: Usenet Network
Message-ID: <179562061310.619539.2248917862989217647.git-patchwork-notify@kernel.org>
References: <20261119192159.2646113-1-dmnk@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="242201"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:QEzUrDFBUjpYPZLmIty+etIeYAM= sha256:Rv7BCXsGkFktwRA9poS3BAGU9yI5GpBycNOpJDzo/Ic=
	sha1:nVdgHfcS3B8XYj9wFFQuXLGXyb0= sha256:dj2i7G2+ilFbP3YfyLHlCYwKqp/Zp1SiqaM4bnsN6zY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id B2DB9125E7C; Wed, 25 Nov 2026 18:30:30 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Z3AefYZ90RxZ;
	Wed, 25 Nov 2026 18:30:27 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371478-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id E4788125E7B; Wed, 25 Nov 2026 18:30:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id D9A653B1E5; Wed, 25 Nov 2026 15:30:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795620615;
	b=rEnsH1v152gBBl4FQ7LMIYyliGY7CqQbQxyaU1NEYWdjXgAQRqf/lUAQo7AMoy79XDzg
	 RLPETK3t732F8rgKFxgbo+Wvs18DnXROdnfT9qJQ9gj1F0jjDD67S9NzXJEL4uDn8lRGp
	 EPGX/ouB+1rykYxeHKUp6UoCMewdZ3d5cBREk+oNGqxFLqShJdl7ZdsXUN14i7u+VUuNJ
	 r8DpaZ4ByIuWqSiMMIXf4wUlQn/VofO4czE/LiGgfiwe7wtYjzDCY5iS93RspH7ZSOdE6
	 YzQsjPPiAvOvx3vIsxFNmoLeJTOYvF+auyWjD4qdLWiD+ZAOasz2bnebMQC9efNcRUg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795620615;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=TjfwzSYRpA1l0cjpEsSqZ3w7L7M3XTzJFsciAOi1dms=;
	b=yp1xflrMc5KN6EOms8dgcQo/qRDkiHBk+TNxfKHjAm046V2qOfS0AN9gDfgXeIjNrCDq
	 wgyKFP0ib103qQ5z4KzCMOXGIuXAY4mZQoJlfVBMtPc2NyhHG4/W0xGfYqc/x5dCmDCDJ
	 8eDPDrWKUOvITQc0YiU0XJMYZI19NHWPCfFfVGJ1KZODX/fOFV68dYltVEIA+CsHJRKo2
	 dziPj888SZC1LVzJhGoPWMgyD6CKtoCb6BkHCFxcmMmcgTJld1jRa3Z7067EZIp4eunQS
	 bShnD1qgj19lRPSWCByojd6hw8kzfseK+GgQy0txf45ydjeFgEyX30Pj59opp+TuXiQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rc2ddZCq;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 782BB606A330;
	Wed, 25 Nov 2026 15:30:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rc2ddZCq
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795620614;
	b=Los7xeRz0WV3a6b9RPZdv7pYTIsW26lAUHceuogHeI2aw4RhDjZM1yxJVKw0QV3ek4as
	 gjGAWmtqSH/9KCq997OFsoKcCrUekyQTiTUqpZxtjgE9AnO8ZboknXf7GAxf+0reEq7C0
	 NT9bJte4+F9sld3UhdjyqD9JmzXNM7XpfEhREoimbIkGS1MwBu77f+HzWg042T1mSHhmM
	 SBT6mQUprnB6S1cyhfhnpJek+5RApmy9l1JYVgrig4NRdtV+cCW7eqXCtPGIrbjre3aZH
	 6fGnmBgBzdaXVcQEg2mwNZnWQJAZZR3ITxF2cGHra9x6vpftbze3F6wcMThL3c2tZ0A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795620614;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=TjfwzSYRpA1l0cjpEsSqZ3w7L7M3XTzJFsciAOi1dms=;
	b=QwLkziBhhWnpbKZ+U+RLvJqH3cPedo3uSKwI6Bb4/uB2UBnYRwLMt7VBwWwzR4azTPFy
	 LCr6lFZxdElnYc3ZxtDfN0oGS/MBKaGEIC9f+ZbOlYdu/MjrmLLPaUncnLRkUYPFxsAPn
	 h5M5o6jIuLsAGQ4soDbyzpWBxK+WeCTWKvFgLjNQrRwc8UnbfZ3rYeZdyPHRRLdUM907h
	 pQw3t36Pl8tSUiTPTVHQmhWm3CP86JVMydWy9TWR6PUrD9pK9mlRXj8cprpBISZTdIwIZ
	 jeCrjEGrOVX9cWUZO6Vz3yE1qZNdfo9dLyx9VSS0HIfv2Ej+lYskzY052e9TV38wQkA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Rc2ddZCq;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 994FA606A32A;
	Wed, 25 Nov 2026 15:30:14 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 421E31F000C0;
	Wed, 25 Nov 2026 15:30:14 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795620614;
	bh=TjfwzSYRpA1l0cjpEsSqZ3w7L7M3XTzJFsciAOi1dms=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Rc2ddZCqzUoRbNWSRjrQAE+H307p/PntbSSjxOqs/+HKew8JY72p+7lqWF0VGZzei
	 r5BFJ1Ks3pWixiZAslbRn3vaYJe/+cwh9zlGYi+smGTRTSpIUVv1Bpe1CEDu/fEzzJ
	 8cSDqhwAA780RT8CnutMZsq5bBVz0ugqYb7/hc8Otco6Hao98lIl9gJWualG7wRZEW
	 z6RGJRapl1VzXVXmUADFQA6aqaQ1x39kZTLQPfpfvqy1cjz6tQ0NbVyjH+m9BoeUw0
	 Pcbn0osSxr/o2eNcyYUcysezPeoYrfPsxSLtv4lqyNjdAVadZ3indzifOoeSVqeagV
	 a9yu+eM2lchEQ==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A3E23808209;
	Wed, 25 Nov 2026 15:30:14 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261119192159.2646113-1-dmnk@google.com>
X-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