🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14110

Re: [PATCH net v2] net: gro: avoid parsing headers from shared fragments

#14110
From: patchwork-bot+netdevbpf
Date: Tue, 10 Nov 2026 18:23
32 lines
9183 bytes
Hello:

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

On Fri, 30 Oct 2026 22:07:52 -0700 you wrote:
> When an skb has an empty linear head, skb_gro_reset_offset() can expose
> the first page fragment directly to GRO header parsers. For an
> SKBFL_SHARED_FRAG skb, those bytes may still be writable through a file
> mapping. Headers validated during receive can therefore differ from the
> headers later copied into the linear head and used during completion.
> 
> For example, changing an IPv6 destination-options length between the
> short and full header fetches in ipv6_gro_pull_exthdrs() can make
> ipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete().
> A userspace reproducer triggered a KASAN slab-out-of-bounds read there
> on an unmodified kernel as UID 1000. The same completion path can write
> the UDP checksum and length through the invalid offset. The packet has
> trusted TCP GSO metadata and spliced file data, so it reaches completion
> without an skb zerocopy destructor or a second GRO packet.
> 
> [...]

Here is the summary with links:
  - [net,v2] net: gro: avoid parsing headers from shared fragments
    https://git.kernel.org/netdev/net/c/44818c9a826d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179433498617.4118637.14513799023465794368.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360515-linux-kernel-netdev=dewy.ru
References: <20261031050752.31869-1-kylebot@openai.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360515-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] net: gro: avoid parsing headers from shared
 fragments
Date: Tue, 10 Nov 2026 18:23:06 +0000
Organization: Usenet Network
Message-ID: <179433498617.4118637.14513799023465794368.git-patchwork-notify@kernel.org>
References: <20261031050752.31869-1-kylebot@openai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="673134"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Tu0Y6+f8uTxqzIFR5UMx2iMNk/M= sha256:bhNM5dbHy/eDcZe/AyzL9VDSc7LwYNJG0i7qyHn4YmY=
	sha1:uJSOFcKBcCp++0xM7SSE2qBRkg0= sha256:hF263nGe8aMWLSoHTm5HQqqqKt42QXqPFPfCcPmunAI=
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 42780113CBD; Tue, 10 Nov 2026 21:38:26 +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 cfJvrTnzYafh;
	Tue, 10 Nov 2026 21:38:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360515-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 5D850113CA9; Tue, 10 Nov 2026 21:38:07 +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 AFC06147C7F; Tue, 10 Nov 2026 18:24:36 +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=1794335004;
	b=GdKVxiEIf4ADd5KUCmJiCX75NbetOT439oOxnRgXidJuoxrhd/ad2nk/20Hckud30U7w
	 tJSu6YalJQMmif9efCQR3V45+GEB1S3VqRGRAcmvuUn2TMla9KClVz1l/M4AGFDl6kr8n
	 HEsxYSZbltng8XVXfbB6O1ypTsrkv+MgnUueee8YHLwPtyomIjbULf/Th81DTzDFgb0LH
	 /DUhlf7L5GCUfS5j9VkIrRtPFHFDNIYiAKcTvI3RiaWBdBWqglRRLUNpyQAnrAL5t81OU
	 3xwuziEMGnbAakHGC4tSQXuVScs/rdx2XT+npRjQS/2OueQ25JfxdzhH9fp2qRh+SoQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794335004;
	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=gFIVP2ukIR57mtsLtodnC+ROcqefNTEt0BFqlHtqGTU=;
	b=MacrjBSQr40VlsIyABSL4oUSmh3cZ5wOqcjxVn4iY0duh18wjGuaxZMcMkCW6OOWdi2T
	 nh4G5x1AH9EV4s8sSTrLrtVOsk4waqt21QKWkeopAD2dpMLUL1N/gfI80zd7CrvW8HOQ7
	 w0Rb10b7PcMcFIp2bhag5HUSXj2GGfQaTF5pY13VmLpMBWFTWmmrC/yKzLVQ4KJ1av0wx
	 EdgWzbbjV8YzIriqPBOj6xiFZVzWgX/oHzPRKUnABoP+WZZRTjA7RvXoX/DXA1K1MHn2s
	 oZyS8s6VN8NneGAUBib6gK2/xiBoD/wln2Z/IDuuxue70rtsSeKz+p+OUDR+XnEGxig==
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=L1Rf1BVO;
	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 883AE606A32D;
	Tue, 10 Nov 2026 18:23:24 +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=L1Rf1BVO
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=1794334988;
	b=Fyc3M4PtB5/UYtXiyRFkaeRoF/p2IFrfgsowKVNvSH9L7AT7lnFUFA2jrVTO6gfS5cRQ
	 CnqF9pFpBqDKMh/UeiKYqeX8C2IwyxkOrOb4Xc52b60aB5nxsuF1w+USdEqE20JeREaJ/
	 73yZ9ZuLA81mFZzanrFxtLmbakpPwx2TR4uwZt4SQKLLm6/rwRkYSIWNfHZoBdOAA7iy6
	 JgBk243m9KwuGTr/RUCNKa/XaMrK87cg9+VH3+rSVG7z/e43Lpn9saj18uX85kci4a2dy
	 1vmqih9/ogu/bY8ZAtDyjEPB6cL9UsGtLYnPiNujC7P7Du9yC7Nq2uFT5lZhEB8PTAg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794334988;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=gFIVP2ukIR57mtsLtodnC+ROcqefNTEt0BFqlHtqGTU=;
	b=V7TLrD1wzNviifayqX9/vAPZNVeBTCoGssG1Uy39I/ALRalpiihiePGkpwh76FBU/5AT
	 PrBxalrxsmJ02W6v0OI7CVCefs+yCssSljEdEe3KI5vWatNTleMq3jn3U2mR18TArhgKm
	 +WPbBS04xRCyYgcKlOQsUhmh2ATjAH0X+X0JZvEFQMgyC1wzoWt2Nzq/0haQvYglzaEuC
	 VWzV9SfcrMJpetIK9nLTTkidc7bjG1BpdA/g5XZM1oORA6+YE4HtYcdpP6E9AwBMdAyRt
	 XPzjd1yBMah6PAOPImJLSj1ZQ6ZuVYf8/G5ojdlEu/py6WrTOOnxT7LB/jxeojFul+Q==
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=L1Rf1BVO;
	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 691B760A2626;
	Tue, 10 Nov 2026 18:23:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A53051F008A1;
	Tue, 10 Nov 2026 18:23:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794334987;
	bh=gFIVP2ukIR57mtsLtodnC+ROcqefNTEt0BFqlHtqGTU=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=L1Rf1BVOphEmQaZiEKSRL11F60pJRSY1sAr2vINQtkQYjbS7fn2enAgbCpLjZ9efl
	 xb7z5mk+YibdtVDBvH4CMqtDhmCPX8AMSOs+KQWv3yqpISW4quaSmeGjsVJqhdR6/H
	 pCj0lhslhAIFRqhnxNmR43STVcnkT/mp8b8NlbUU9OlMbGjJ4fiSoRPD21NFDUS2xG
	 jNzMa+lVTPOCnmUpnntyNI0/n5/qft8eyZRM5bUERiIpLUr4Ml6DzEVYI+O3YKE2aa
	 /Xjn4JdLbaHD4/oriir7GaFLvN58NSeF6zkoZwvbuIxy/TyzXyTbXgk/3rtc8oEj7R
	 tgjtgvWLFKQgw==
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 9B1C939D608B;
	Tue, 10 Nov 2026 18:23: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: <20261031050752.31869-1-kylebot@openai.com>
X-Cc: netdev@vger.kernel.org, edumazet@kernel.org, davem@davemloft.net,
 linux-kernel@vger.kernel.org, outbounddisclosures@openai.com