Article View: linux.kernel.netdev
Article #18654Re: [PATCH net v2] udp_tunnel: fix GRO callback mismatch during setup
From: Simon Horman
Date: Wed, 18 Nov 2026 17:26
Date: Wed, 18 Nov 2026 17:26
43 lines
9628 bytes
9628 bytes
On Wed, Nov 18, 2026 at 04:36:50PM +0100, Jérémy Jean wrote:
> On 2026-11-18 16:32, Simon Horman wrote:
> > 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.
>
> Hello,
>
> I intend to do this at some point, but I have been busy with other
> non kernel things recently. I hope to get back to this at some point when
> I find time.
Ack, thanks in advance.
Technical Details
Message-ID:
<20261118172607.GL860048@horms.kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366299-linux-kernel-netdev=dewy.ruReferences:
<20261111214622.2482547-2-Jeremy.Jean@oss.cyber.gouv.fr> <179478310543.3136.4977357785981182737@kernel.org> <20261118153221.GG860048@horms.kernel.org> <1d7deb845ffc57994cfc86c317d9958d@oss.cyber.gouv.fr>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366299-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 17:26:07 +0000 Organization: Usenet Network Message-ID: <20261118172607.GL860048@horms.kernel.org> References: <20261111214622.2482547-2-Jeremy.Jean@oss.cyber.gouv.fr> <179478310543.3136.4977357785981182737@kernel.org> <20261118153221.GG860048@horms.kernel.org> <1d7deb845ffc57994cfc86c317d9958d@oss.cyber.gouv.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2651276"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:zt8sAzbHEOXodm5TdW3uydX8qKQ= sha256:9LLrcAyE/A+T5yGdMeSt/sE5cCaWxEP1Wm0xbNBDOBs= sha1:ZdSZ42+Eqqw0qRXGBRxg1nLlZ+o= sha256:ia3Nl2uu6ucuNHag9GTWKR5p82KxNaWHX+SwjMzZ9VE= 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 8024B115343; Wed, 18 Nov 2026 20:28:52 +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 j-3A3zIB2_CP; Wed, 18 Nov 2026 20:28:44 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-366299-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 30E2D11532A; Wed, 18 Nov 2026 20:28:33 +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 49113A8A37; Wed, 18 Nov 2026 17:28:03 +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=1795022772; b=cbCzO+uEGBoFWyoRLt5aH1hy7v6jsUliuTjMDLnvt5ghNNAp8vtRJnmQg0+QrPn4N8DL 2XUSVxHC+oBRsBUUVcBzgC3LECG3SM4/lusrPElvc4/ujydYc8hOtrF8BZ/X2nkPghvDO rywtKyyR78+tttJa1OQD7VzhX1UPsHrzrcUZkmpfS3uLgdQGfrbfOv63QPUXFjNYg4UA7 MZNoiK+egru56KTwIijtFNJwp8nwECG7axQt3zDgIfSoheOelT2iQlzT1I1hGhBZAc6ZE AacqyVMpEwMZfoVbBnm0oS6P+fJ07ppZ0uK2QXgluV5wkpKxX3SACK0sBs65efVMIow== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795022772; 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=ssKNU/z5Vf5ezfQe9+t8GBDFiuU8VYizXFRB6pc5X5Q=; b=uyvoDbrj5noJmFadHWil0slzui3lcsvW9U3c6GtN9NMpwW3TpTxoEM9UXlyjAfb9LJW0 Pft5ee86V7JHwWc6j7v6o1BTuGfVKserkEKTu+E1JdBBgyu4pKxaZc4eB1cn3uNSUNcli 7HhTjorB+RaktJFKPXVkQGGLHy5ItZ/j4R2UzZTwzDrqQ08JKQQ3eb7lT5vXVHNlJZ7hZ IQK8olGil+rS8rj571xIiwT7wlZdRHVE2t7gxMtIRAZQGAcoUk12PDFL1U4Dy66nkbWoU TUcQNtsVQf87oHRldVJ6rsH7tw6cgg/9SZU501conq/pCBuy+i/Y8KWtqaRXGh1+Yrg== 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=OhkBwqUd; 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 9B8DB60A261D; Wed, 18 Nov 2026 17:26:12 +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=OhkBwqUd 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=1795022771; b=D9StqWvhFP+dLk4dil/8127TxtURlCJvuKmQXP/c2y/IkgOvMYspcZi73uy/GpWM8sfV EFoy0asauYNciSjmsElQgbFQSYd3BfRURSbH4mpvDv5clSbUmJuvW3CSHI3dwvkUAOX1/ 2OfstvsckHMzMSc1PagZS0yC2mIkkF5ncja5/x6Kuen1WcfA7SC1YUuRlfIwCWjIBgtzs UKDg8JVMAPOrms+mVq0H7NyuPovdL7gUZH0YHI5er7elFCkttdVdYWPxkpypVggF/xK4z d9l4mRIm0kCqGMnmcAumRuV/m0hr8YX9Cix+vEAhSfX7ynolCUQcDmjgNzQnLNq1mBQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795022771; 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=ssKNU/z5Vf5ezfQe9+t8GBDFiuU8VYizXFRB6pc5X5Q=; b=OlJpssC6Vvr/dEVRieRBGBUtru32KpIZDsds1uG01H4t3Oow2v6wl9zKG6JWkp5CxH8u P7BzPo5LugsKRXX3QTnum+MF4qr3oN6JEHcIC7KLVuLif4Oiisvb64jSd9FrP5qniALGx 70qQUKGBbreLksWtlqusTuUvwrPLeLsM4mKlA3+tSQ1q+4510ZwpXHgPH7dmYH6CpQlHR AziY38S8rr+3ivvVjNu199Cg+piSVwS7zHer1R+7VdJbcdicLPrbfnHktwpXve8kLc5kF qKdXHvIgxXDAJ9UeJbzh9pwEYD/effaf5T6O+nW3f2Hry9xufpuUBwYyzowiQAyuDMw== 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=OhkBwqUd; 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 BBA34606DABF; Wed, 18 Nov 2026 17:26:11 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C43CD1F0030B; Wed, 18 Nov 2026 17:26:09 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795022771; bh=ssKNU/z5Vf5ezfQe9+t8GBDFiuU8VYizXFRB6pc5X5Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=OhkBwqUdAwEkWXUbXYCq1qwK7hKu020RRVpe/qOpr6iYfuUJwsiUngB3KEze02/M/ 1LXnnLiUvy+eBr/ClXfyC3zSau6MPiyl7XsKf1oRJY2jT0q5AQgqzdOUh/6GOXKX+5 HqPnyPJwwBDIHkwRmVk+GtX9Ca2DWDSOK9rAde4lbbpMuRaDemsYayt4XIOM0rSGSk mpDUJ+V5136s3F7VYb2IAksTUYJLd073cIYCpbduyeNpi1CtY2awCWQjUI/k3YsIa7 RINZz8R3txoYR7crTIrcRS1uR+8fADfk83eGGSwfyc0HTalW2zEZRyInWI62Kq/P47 /Leh6WZ3lRYNg== X-Cc: netdev-bot+sashiko@kernel.org, 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: <1d7deb845ffc57994cfc86c317d9958d@oss.cyber.gouv.fr>