🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26370

Re: [PATCH net] rxrpc: Fix kvec overflow when padding a path-MTU probe ACK

#26370
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 12:30
28 lines
9073 bytes
Hello:

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

On Wed, 25 Nov 2026 15:16:38 +0800 you wrote:
> From: Jun Yang <junvyyang@tencent.com>
> 
> rxrpc_send_ACK() pads a PMTUD PING ACK out to call->peer->pmtud_trial +
> sizeof(struct rxrpc_wire_header) by appending one PAGE_SIZE zeropage kvec
> per page.  The table it fills is call->local->kvec[], sized
> 1 + RXRPC_MAX_NR_JUMBO == 47 entries so that it can also hold a
> maximum-size jumbo DATA packet.  rxrpc_alloc_ack() has already used three
> entries, so only 44 zeropage entries fit, and the loop has no upper
> bound: a probe larger than 44 * PAGE_SIZE writes past the end of the
> rxrpc_local allocation.
> 
> [...]

Here is the summary with links:
  - [net] rxrpc: Fix kvec overflow when padding a path-MTU probe ACK
    https://git.kernel.org/netdev/net/c/90ae4042bd9f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179630100500.2590008.6324574525103450634.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376596-linux-kernel-netdev=dewy.ru
References: <20261125071652.56790-1-juny24602@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376596-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] rxrpc: Fix kvec overflow when padding a path-MTU
 probe
 ACK
Date: Thu, 03 Dec 2026 12:30:05 +0000
Organization: Usenet Network
Message-ID: <179630100500.2590008.6324574525103450634.git-patchwork-notify@kernel.org>
References: <20261125071652.56790-1-juny24602@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2487173"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:VvVZ8tv5qNoLpAXIuO/PaztP4A8= sha256:j9TKena+C25VBS0ecDncuENH2O6AFAuDM1aEZ/6z0V0=
	sha1:3Vi6bwwEL2ZckjAGvjcKM3s2uAQ= sha256:yO0Jy4CvQWc6W2HAu1DaiE7d4xSGHoyhwhNB0aqLCuI=
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 DD89811793A; Thu,  3 Dec 2026 15:30:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 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, 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 j9A_WJIfPlPh;
	Thu,  3 Dec 2026 15:30:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376596-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 5F3091178EF; Thu,  3 Dec 2026 15:30:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id E31112943D; Thu,  3 Dec 2026 12:30:07 +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=1796301007;
	b=mOycM7EDPAvTj+8eZk8K1eLrkQiNfxO6vAKyW3oqP3F3vZECJgd9EaE5Huy84WMjBA9Z
	 jzUNd0uOGYLG7Fy5Szcs63qGCXHARI9YdATITJ0LG3iVlrj5LPA2CmnOPoO/0jM1QASXW
	 cASehZg1bp4tumATuSRyE3X5w/ctxF//pv54+Rvq204N7rX46IC1Rhj3iqAsMZaddY6wQ
	 8Sy2DP+qoexvkpFIcIswUXliW37UVJDXHecrxTDc6jsNp3ansBn1HURe8StPS4bYlzDlv
	 qNZF6tUkM0OBriOEJapH2CO8+E2OIge9GHPa3qhtv3najSfhSF77auJ8YP4gd8+lfWg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796301007;
	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=e9pkB0v32pg3dSzece6aPa6mmJLelkhy/YrH4ayjY7A=;
	b=0J7sr8/KE50oOU+QIqtszvZq3DHSY6Sd75h1THT++PgJ2gegNGPqntZJ7ck5ChA5kEO3
	 E8FnWUCoFtlVAXLfL4l6jL5LxyCwL9wliK16uoGPb2PaQHA228X65KJDdK9sLbFZ9P+Ft
	 KDmguJWa2hmdCYPzCJ3PQY+q3ZVJv8TMMiLNqJpcMwVFKW43Dw4zr/NKT5/OpAg2lOXSL
	 hYmRUwisJWVMnpJpgmcE+C29R0YPHxK/hP6XG61KdbZkFeSatPGkNI0xIzCJkM2Qf+d1F
	 G87E1xUlABO2/oiAcK3oeVdbvlC/zo/itZ9D3zBf2mIPCFQdCie0G8dozV/XOS8JuIw==
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=lmh5YDsl;
	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 BAE75606A336;
	Thu,  3 Dec 2026 12:30:07 +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=lmh5YDsl
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=1796301006;
	b=rQy/pO3ctsZxw/adIIBqp2sg0fNYE2YcR/AAD2sa9MHvqsrnIoPX1g32YBZJQH6zN5xD
	 wZwuOfEpkmeHlxtsCN0IDkHMUjxU8RMeUB3edQx96VdMj9rZr57cuX+qxIlTpo4hxZWLL
	 yOruDaXkYg4H4AipvU4OCnYsbXYkPQJ7RUGvyS06gL5wk805kuUGy8sJ8FKumnm9WTSLH
	 Vll5qdqL4yEh7PrV1Z0QF4Gp4wzlwB5o4dgUdMW6dMVygcxAdfKsn0Ey19c75raqdjTqk
	 qdVH3iD0D90mTbv4MQScpy7bgBDwdw9UXZKHRldkTHb+MbRqFq8pChcWivlhULmTTnA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796301006;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=e9pkB0v32pg3dSzece6aPa6mmJLelkhy/YrH4ayjY7A=;
	b=ZrosEJkDSvTma9Bvlmcp/G+lyodEq200Me039y+u8gtywn1/R1hhxhW1XBxYaSUYfsOr
	 1LHhYUXo97biWFgXKud+ENbimhpMpoGOgLtU+2YcAZYXeBy9GedWLP8NtBdQd+AJ31ioB
	 7HP+wGabYDP5sln4Dm9cqS+vhSTJf2xVT9azUqHQYQg/4ulFir2/xGs2pJ1fDySEKsUIx
	 iD4mKPVAyHnU0MrXApO9wDaLRQKu9PAjKnRBF2YCiBi0bVkFUoAA8/F73Z+6bsob79+Dj
	 wAqKwbSkCVA3qFKiPRlyD7R2DDvc9VzGYEIB5QN23djRqMtYoLhS0IIpmmXfxyNjTRw==
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=lmh5YDsl;
	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 D7E84606A334
	for <netdev@vger.kernel.org>; Thu,  3 Dec 2026 12:30:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42A061F00893;
	Thu,  3 Dec 2026 12:30:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796301006;
	bh=e9pkB0v32pg3dSzece6aPa6mmJLelkhy/YrH4ayjY7A=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=lmh5YDslaW3OgquKQKCQFAOVpLtO3N/Ih5TVhLJR/yyVU6izKAH2SEbbLHBRkkrvd
	 SbcpAwDbYwMwtYaleF1Bkcy3aEiCpJ0mbljeQyy86wuEVw6piuAKWf9oI9avD3fHRr
	 Gamm5p5Wc8Xy9q/+wLB9jXRIj3vgS7s2vXXz7jHIc128yYeAB2KUH7FIfTMWG7NABW
	 mZAlTtfPia6abUUVDWp9FeMVNuhBKHeyIZeMPWgce0/UQ8HamokAzspFY/G7Y41MNT
	 XshWMr6XLQQEhAXz+B/cFUe/QVXjRxoIInjL/Lf4pCKPXk52N8AtjVrPPt9UC3cxGV
	 b+nS6z6JGY3zg==
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 3484338068E3;
	Thu,  3 Dec 2026 12:30:06 +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: <20261125071652.56790-1-juny24602@gmail.com>
X-Cc: dhowells@redhat.com, marc.dionne@auristor.com, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 linux-afs@lists.infradead.org, netdev@vger.kernel.org, junvyyang@tencent.com,
 corvus@tencent.com, stable@kernel.org