🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18607

Re: [PATCH net v2] udp_tunnel: fix GRO callback mismatch during setup

#18607
From: Simon Horman
Date: Wed, 18 Nov 2026 15:32
27 lines
9004 bytes
On Sun, Nov 15, 2026 at 10:51:45PM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 4 potential
> issue(s) to consider.
> 
> Critical: 0 · High: 1 · Medium: 2 · Low: 1
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [High] The fix still lets receive and completion use different tunnel
>   parsers on the same packet, so the out-of-bounds write the commit…
> - [Medium] udp_tunnel_gro_count only describes how the head skb of a GRO
>   entry was parsed, not the packets merged into it, so packets in the…
> - [Medium] The Fixes: tag blames only 5d7f5b2f6b93 ("udp_tunnel: use
>   static call for GRO hooks when possible", v6.16), but part of what the…
> - [Low] The new synchronize_net() in udp_tunnel_update_gro_rcv()
>   (net/ipv4/udp_offload.c:139) runs with the global…
> 

Hi Jérémy,

I would appreciate it if you could provide feedback on
the concerns raised in this AI-generated review.
Technical Details
Message-ID: <20261118153221.GG860048@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366244-linux-kernel-netdev=dewy.ru
References: <20261111214622.2482547-2-Jeremy.Jean@oss.cyber.gouv.fr> <179478310543.3136.4977357785981182737@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366244-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] udp_tunnel: fix GRO callback mismatch during setup
Date: Wed, 18 Nov 2026 15:32:21 +0000
Organization: Usenet Network
Message-ID: <20261118153221.GG860048@horms.kernel.org>
References: <20261111214622.2482547-2-Jeremy.Jean@oss.cyber.gouv.fr>
 <179478310543.3136.4977357785981182737@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2629418"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:fozG9fbeQW4SwL9bro0hfWA3+Tc= sha256:8iQren7305OanLoCyQP3uWwR8vN4QxA3LJ4ER3Q8Xhc=
	sha1:WvFtYqDIn8rTon2k47S4SjnDWLo= sha256:gs+RZzI9DAu6YDiM1+jGEb41EI575kMQDPz+Y4cNLHM=
Content-Disposition: inline
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 3B78F115305; Wed, 18 Nov 2026 18:32:43 +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 BPBX7r4eUQls;
	Wed, 18 Nov 2026 18:32:39 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-366244-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 8DCFD115302; Wed, 18 Nov 2026 18:32:31 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 57B2E616FCB; Wed, 18 Nov 2026 15:32:30 +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=1795015946;
	b=zGrmKi2RLTKPkkfLycQU8YZ+23vmW/6dG087zrlG8apmK8PuyI36KiOoh4eQTj9iquHr
	 vesNbOaKaqjniT6jTnR9MID99F3HwxGN2rSVIY9UHoHOBiY0VZm1sTRBMLohKpqIt3FAv
	 zSt9Qwn+wj5Cpb7MfYlv499AnMvovyZqRvQyv9HHCFpY3UVlRaeqFY4YMNHnydegYDVFM
	 FoLmqc3TNYSr2QtOYuwx8Kfx1JXg2VlF61BuNDQ3/V8BkvQ4n9rqCOwrkx/oAf5GfOkjE
	 pq1vImljmo/SIXlWns8j+I5Liut1SJdBHi234swzktQsVq7XBRd/KtzL1hqQp4xVKcg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795015946;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=CUTDYfj/NI7vPhfySbvU/8wA3af+cG4HXcFhDsJtznQ=;
	b=0L+ZXSSnpXr96ephUxBa3J2q1ko5/auZ6q4Wxn/JCWzBrVfUkFJ80C/i86qc4O/fJO8L
	 j4TlzuicoyzFyusyUx3ydxVr4sM4H19zKwWqD4MlKYax+6T3IVRGP5QoXnklEzrZSiHA3
	 InENxL1mOSsOQA/ZWixjWcsAb/9eaVDvlb2060yoyTjXeGw+YfqgbEsm+qBT/rro6LGAk
	 kdi+f2DlsI8Hqy2XnFfeDILHgVD5M7RpUcheSNuwbqdeFhYv5EBy6JN/1knNJm+Huddfg
	 rCTZemSE63AEQ4vYCQXD440sY7M4xKGss20t9UWa3TwKmGEtJdI8XKddcczw69QmIBw==
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=ZxyL1JMC;
	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 B4DAD60A2604;
	Wed, 18 Nov 2026 15:32:26 +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=ZxyL1JMC
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=1795015945;
	b=x+CgiJIPdCQzfIXuuwsDKyVaLTXOfQVpGriUPCiYmaeTQTp9mSqpujIs6gt4WStLwIN/
	 FDDselCvPSoqOGb0SmAaJmnctpxH8deIStnbhQBlksBrmmT4yB/UUipnOiiR5+Kc/23f/
	 hSRc0Ych3Sq1FScnbcSmFBMYqVbvlCftMAobrB1vD9X+KqgqxfReIsvN3IvUPOXMKtF9g
	 hmeWgkVqGh4hMeRGbEdr1Grcgu/Iu7H3F3AUtp4GT+OnDSGoLfTCU0h0cyvpeWVZKDmXv
	 ot7g7QTMzOyZYTE2/MMJ+ntreVNq4e4LRk7h3ooRgvpW3eiU8SH3WW12+ElvkgTuTyg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795015945;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=CUTDYfj/NI7vPhfySbvU/8wA3af+cG4HXcFhDsJtznQ=;
	b=19dWOsgTUc7HGh7gc21V/DfZKaQ1DlprMlV2AQbIDm1iXMhzZPS0JV7xLoy34Yu4Yfyh
	 47GVqWc+SJStOoZFwhqMbAUVlHeHB6DzssGBa8lqlh2Lj50hNuflqRvSTU8dGT+VTpua3
	 aI4c3r5EQCjd+X461nKeih1ZhNBmnAMPzbsrmdqFCSgFdnzovgg1eyKwzQZonofbovXQf
	 SMtzMR5YIW7WcRmG3sEQfwPG8nElk53+eNxnFBFa5fJ/QElqfE1KB4hsYxzsMZaILdHtv
	 9wE2r+Bpn0tqDrNk7jllFNnh9b62Oby3VP+AJesSE5daxlg4z1/tYjgODVftD9qXzVg==
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=ZxyL1JMC;
	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 D5C8D606A31C;
	Wed, 18 Nov 2026 15:32:25 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD8071F000C5;
	Wed, 18 Nov 2026 15:32:23 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795015945;
	bh=CUTDYfj/NI7vPhfySbvU/8wA3af+cG4HXcFhDsJtznQ=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=ZxyL1JMCOvrqNjwR/CLKPpAzeQNk+OwfnkiPVrJTJ0zeD9IY2bLRl+Tv8DUSHtEtR
	 0391ymAd+beaNlleASnPtaCjq8N+iJfNvWuE+TX3WJ98zvecdjJa1Mru8rpF0YcpLl
	 1CqH7bMYwtxc1ULTndPr8d+jXCoZeg3vXrRd+S+KEAHoOvVK1goW0tsKT4mRxDk5U4
	 9GKIzzBAk3Bz/USLkWhl5rw3GhKoQCo4Bkei/PVRBRo6erP1J0t8XLoRqhRTUpry0m
	 5fhJwJevar3t3AmZO69EG9lVmdcxtBarW+eJJVJhhD5VnW13V6vB7QcqWNX757gkd8
	 cYHRsZebWoS1A==
X-Cc: Jeremy.Jean@oss.cyber.gouv.fr, davem@davemloft.net, edumazet@kernel.org,
	kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
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: <179478310543.3136.4977357785981182737@kernel.org>