🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3784

Re: [PATCH net v2] rds: fix out-of-bounds conn_path walks via handshake exthdrs

#3784
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 01:00
27 lines
6638 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 12 Oct 2026 10:53:36 +0800 you wrote:
> Both the lane and the connection-generation negotiation are driven by
> extension headers in handshake packets, and both are processed
> unconditionally, even on transports that are not multipath capable.
> A non-MP connection (t_mp_capable unset) owns exactly one
> rds_conn_path slot, so a peer claiming up to RDS_MPATH_WORKERS lanes
> makes every subsequent fan-out walk conn->c_path[0..7] at 504-byte
> strides past the single allocated slot (KASAN: "Read of size 8 in
> rds_conn_path_connect_if_down"); the generation negotiation opens a
> similar out-of-bounds walk on the same array.
> 
> [...]

Here is the summary with links:
  - [net,v2] rds: fix out-of-bounds conn_path walks via handshake exthdrs
    https://git.kernel.org/netdev/net/c/50f2103fce43

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179211240503.4182913.6701476579804696289.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-347023-linux-kernel-netdev=dewy.ru
References: <20261012025336.54756-1-bsdhenrymartin@gmail.com>

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-347023-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] rds: fix out-of-bounds conn_path walks via
 handshake
 exthdrs
Date: Fri, 16 Oct 2026 01:00:05 +0000
Organization: Usenet Network
Message-ID: <179211240503.4182913.6701476579804696289.git-patchwork-notify@kernel.org>
References: <20261012025336.54756-1-bsdhenrymartin@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2658050"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:p15W5vK47T++2iRNAzhgxS0kTNA= sha256:8/aAlAO/2d7IFggn8dBgIpVyq1mSHn0L8pnW/ITES94=
	sha1:w91oftXLya4YbL0RML4pgcHrREk= sha256:OAmexS4UdtFyK3/AdqtyhpNjfWmDRS05H5VrpAwJ9Wg=
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 EB4BC110425; Fri, 16 Oct 2026 04:09:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, 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 j7-psKsazRb8;
	Fri, 16 Oct 2026 04:08:58 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347023-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 341B9110422; Fri, 16 Oct 2026 04:08:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 84A6962183; Fri, 16 Oct 2026 01:00:10 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A5F223126DF;
	Fri, 16 Oct 2026 01:00:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gA/MBr7W"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id A04AD30BB8D;
	Fri, 16 Oct 2026 01:00:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792112407; cv=none; b=TnxRHJdylJxeL6dQB9NcV4acuSlThz+UqOUDqPHLpFUBSd+eahEWZyyXbyigL45DgLvbdo7oCKRHhtUdEl/AxSVmVhSDba7YnN+Bqin02pScNL9GNKHIcX+GM4dFzNUwD4eom4HExuc91r9RTMqYmG5fPIxNolPSpdwlF2SdwW4=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792112407; c=relaxed/simple;
	bh=JEQGAuoX4CRBL2aeJSCyMPnR/2L89ZCgfAOtYQ6CE94=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=CKj1qGaqw0ZNzG3uOfmmB/SQKVlXVTfN7ylpDpNZiT3kQfiOxNzbNy6tF3x0WNk2FHVW2NJaKgirrLum6uQ2NfIHiGmX1WDZX2q7jzp4oNaS4M/znj2o1me5mT0URDO93QZY9MaXxjB4uMXMTYA0yYOcV5WVGvgCG6eo8cvLFhw=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gA/MBr7W; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4562D1F000C4;
	Fri, 16 Oct 2026 01:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792112406;
	bh=9zecb8tpAjNqt1TGPdy7GXAvrfpY+vvrEfyLOpFNhps=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=gA/MBr7WK59N9YerOPlm4F9/lbHhKbnHTjb58lY5FFBHGF1yJX2xxL+bGiY+WaRuH
	 ekR03gB0+yGKYBJmGYZTpiCCE9HWoevqrcwMfyXb02doruxK2DHlxLajEhrAoAaWJu
	 SgLXWvSuQZCV1HJ/qG4SL79djNqWiPAmvpXMy0JfXzdxxWLDLqNa/znzRgfOPJalNF
	 rOaCHdfHOMFoxKEYodKDuBvwE6F0s/ZXB22fb/GI3GKVUwj/bsaohEv0BjdMjeOTMU
	 y/Vy123sD0hEVhjOXsKHUvwIFaOEX6ZLAHqHIHjEMQogwjjy2o0rBZq5E56pg61KPr
	 c3Q7R8kEhcCBg==
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 3A9373808209;
	Fri, 16 Oct 2026 01:00:06 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261012025336.54756-1-bsdhenrymartin@gmail.com>
X-Cc: achender@kernel.org, pamoutafpro@gmail.com, davem@davemloft.net,
 kuba@kernel.org, edumazet@kernel.org, pabeni@redhat.com, horms@kernel.org,
 linux-rdma@vger.kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, stable@vger.kernel.org