🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8595

Re: [PATCH net v2 1/1] tcp: check congestion control restriction first

#8595
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 14:40
29 lines
9077 bytes
Hello:

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

On Tue, 27 Oct 2026 12:46:49 +0800 you wrote:
> tcp_set_default_congestion_control() takes a reference to an algorithm
> before checking whether a non-init network namespace may select it. A
> rejected request returns -EPERM without dropping the reference.
> 
> This affects module-backed algorithms too; BPF is not required. For
> example, after root loads tcp_bbr, a user with CAP_NET_ADMIN in a
> non-init network namespace can repeatedly request it as the default
> although it is not in tcp_allowed_congestion_control. Each rejected
> write leaks a module reference. Since module->refcnt is an atomic_t,
> 2^31 such writes can make it negative; later module_put() calls warn,
> and rmmod can hit the BUG_ON() in try_release_module_ref().
> 
> [...]

Here is the summary with links:
  - [net,v2,1/1] tcp: check congestion control restriction first
    https://git.kernel.org/netdev/net/c/dda51b737216

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179328480605.499212.7041046412594690100.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353336-linux-kernel-netdev=dewy.ru
References: <71c142b2d45af6a2fe7fc6cd4a5ca52c53afbe23.1793075984.git.zhilinz@nebusec.ai>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353336-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 1/1] tcp: check congestion control restriction
 first
Date: Thu, 29 Oct 2026 14:40:06 +0000
Organization: Usenet Network
Message-ID: <179328480605.499212.7041046412594690100.git-patchwork-notify@kernel.org>
References: <71c142b2d45af6a2fe7fc6cd4a5ca52c53afbe23.1793075984.git.zhilinz@nebusec.ai>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2028601"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:GCUiEsmF6qth5ArUlCyTki1Q8WQ= sha256:wbJQdTPojnPwtJThPMWW8Px6Y5u+/IdipGOl+WOXdks=
	sha1:xs4BytQ0zeFrHy8dMIZkiwGvwMQ= sha256:ZFASWKgvcEqtxKVs/ctqUeiuXlTU0dM4YSeVOQopkHw=
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 098BA125C6A; Thu, 29 Oct 2026 17:42:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 kJItHtkE9znt;
	Thu, 29 Oct 2026 17:42:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353336-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 A02F5125C68; Thu, 29 Oct 2026 17:42:10 +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 10D6E2D479; Thu, 29 Oct 2026 14:40:10 +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=1793284808;
	b=mYrEzDikBODmIFDLLYmrIyntLwf6NGlv65mHLKIi2ijLX2xdu6Ym6gFSUGv9QU0Kt9yU
	 1ekj5jPbLz2PnwMhxbY6HMoWVDNAadq5nQ4Ly9ekach3Mh+VRtyXTwa4XOEmGZ+nqd6cG
	 J0xMLNL+A/t+m9Mi/yWc8CUMQthSqYcKf1Eiy1Gy36KgwgteHtFVLR5ZHTJ92MCfGZvel
	 oE5MI+FEYAEJIjoedFAaDqyBV72pSvCNEvBEaN1L2tBXm2lFwi2k8lSWMQYMB/4uJDIpR
	 XHqtYw6RxysKy+khZqfLh3Li7a7LMbpTkUe5ptMycY0vDPKWMm5/zXcZs1lT/G5H+og==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793284808;
	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=3CRl88bTJmQgduOvxN9CZbKqQ7aP6JRqMXHjPcTRYYk=;
	b=AQ35Ufu6+5MsnXqWMvbKzyBZlNDFy/V1a/48WqFb6UqRH0fcqsAxfghmirPzlPiHcxap
	 +h4SMZ2r9x2RJFJNPR5HhM5QA2Uf7CiwgzpPn60CzA4fhjvoLbcksz3s5dwIhvFgZUprE
	 h9gY9xQESueix5QsPHI88KhSnsrAXeqW2Td3S1a1h7xLkL0Q+rUNMnEQAgBdfEqRsD6iV
	 qEIQj8Sb8jXkfCcP9avCXnL0fC439QQ1/OKDZvIWOGTmKpsJb9R+Uy2rH3h79WV4V9PHk
	 TjVDc7dvjnho0CjlYmePtHVVJx/lqTDokfU9hRawTZtwIxXts6ipjDnnVqr7bfg5RDA==
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=JRdnlKnc;
	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 CC575606A32C;
	Thu, 29 Oct 2026 14:40:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JRdnlKnc
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=1793284808;
	b=LxTjXKpvDyzaP2E5ZJRD5D7o3U2VpN1mfh8OKFKkQzEmXBgkSpQZ3xPCqerc7qzKXdiA
	 DTQIh3gsvObjxG6lI1DbtqZokAX+FPBxjer9ZuHTjQP+01ce2P7nYF4zVyQicSpTO2m+i
	 +AqB2Z8H0vO4o4SKfjy/AY/MjHFb4kKw50dQMQIGpRKaGTsZ3J0Y3L0m4xpBuro7h/OTp
	 qZ6VB7MvsTFqAeZBXoQhgcbZG6NokGpinVxRMSBOB4ORitk64brfQQ6tvG7HMK/zflhV+
	 3LR/yQcnlJUHgVqgt3qMBG/5mp2m4xhH0cOaWEvVpz+41wbTrbtWFXuWSuwqrjYTrMQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793284808;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=3CRl88bTJmQgduOvxN9CZbKqQ7aP6JRqMXHjPcTRYYk=;
	b=xsdmk15Ep7wY0Knzb6bGFiPlMtQBWtaBN25i9sG21D4/gKTFmNEN4d16hY96gKvGUhXf
	 Vnf24BcK3A6kW0t89BgVzRM+XHzfRNPDFR6RrvhnbJl8VpcAgM+ZfbrUl3/L+4U2ELT9L
	 g856KTZnIZui0Dw6QBLb+1sfHKYmVYkA9Em2mDyBU3U2zQBgma/QfCdHwg4suoFlvKyKD
	 YmGoeTCaYRmzLkM/DU/6utBwdbEGCtccBsQL16gBg+xH4EoCV4oCv3aEKG5D6zeq7uYVA
	 xOSbuk2OtKWOXssfxfJS9Q4lp1+SB+mhoZ1zsMOVtQPjlXdjH4rwDhmQ7FQz0E4JJwg==
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=JRdnlKnc;
	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 ACB0C606A320;
	Thu, 29 Oct 2026 14:40:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87C421F01825;
	Thu, 29 Oct 2026 14:40:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793284807;
	bh=3CRl88bTJmQgduOvxN9CZbKqQ7aP6JRqMXHjPcTRYYk=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=JRdnlKncV9NpTh2juO7SyPref4piGIyC6fnqrXlAwFuOI8nOCfT/86Rh0XJj6QF5S
	 RHSnhrp+uP1j/ps9f4ALLxBGWGejlRQCWk2s4uZqyqYGlSRqRYUvKCQ5gCj2/ix0Ut
	 aM2xJFFU7aoWACd1scD5h6EH5QjS0Kj4QoHtDW6En/Kg17xNp/AX7swL3uWTYzFPl6
	 RrXk0S8rXHJ0M9YQ5pFxKwYW5E14Zgp7tlx1IQmAkabTOE6KjqaU3G09aQ79IidyaK
	 k+ZnWII++2rIOb0SB2C9DEbM5GDz2u+tjEnlIzj0l8Vt6BcZNBjEiLyn4KIO5OxwAD
	 GDmOcFNVkBuGA==
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 7D1BF380821F;
	Thu, 29 Oct 2026 14:40:07 +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:  <71c142b2d45af6a2fe7fc6cd4a5ca52c53afbe23.1793075984.git.zhilinz@nebusec.ai>
X-Cc: edumazet@kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org,
 ncardwell@google.com, kuniyu@google.com, davem@davemloft.net,
 pabeni@redhat.com, horms@kernel.org, jonathon.reinhart@gmail.com,
 vega@nebusec.ai