🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #15391

Re: [PATCH net v6 0/3] net: virtio: validate outer protocol of UDP tunnel GSO packets

#15391
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 18:50
28 lines
9050 bytes
Hello:

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

On Tue, 10 Nov 2026 22:36:25 +0100 you wrote:
> virtio_net_hdr_tnl_to_skb() does not check that a UDP tunnel GSO
> packet really has outer IPv4/IPv6 and UDP headers matching the
> declared tunnel type. A guest, or any tap writer, can send a frame
> with another outer ethertype (NSH in the report), and the GSO stack
> then builds segments with skb->data before skb->head. The host
> crashes in skb_under_panic() as soon as a header is pushed.
> 
> [...]

Here is the summary with links:
  - [net,v6,1/3] net: virtio: fix UDP tunnel GSO header of VLAN tagged packets
    https://git.kernel.org/netdev/net/c/9e244f94128a
  - [net,v6,2/3] tun: clear stale skb->protocol of NAPI frags skbs
    https://git.kernel.org/netdev/net/c/3287cd714a85
  - [net,v6,3/3] net: virtio: validate outer protocol of UDP tunnel GSO packets
    https://git.kernel.org/netdev/net/c/73e08d50eb13

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179450940753.590019.2399738283360917229.git-patchwork-notify@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-362130-linux-kernel-netdev=dewy.ru
References: <20261110213628.3476051-1-edumazet@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-362130-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v6 0/3] net: virtio: validate outer protocol of UDP
 tunnel
 GSO packets
Date: Thu, 12 Nov 2026 18:50:07 +0000
Organization: Usenet Network
Message-ID: <179450940753.590019.2399738283360917229.git-patchwork-notify@kernel.org>
References: <20261110213628.3476051-1-edumazet@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1175354"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:AUGn72KHqKJiWzgliydND99LmIU= sha256:QAGU0XcxpJIbudJFEsoeDQzdnExkNwSwPvmTsvctvhs=
	sha1:zxZi9lhL8xiL+9CrjoY3KxWEqCw= sha256:h1kE3eNZKAw5jL5XdapcEpEROQzLhQ4LPw+Hkwnz7+I=
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 61975114390; Thu, 12 Nov 2026 23:56:42 +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 5Nx5gB_5PgMs;
	Thu, 12 Nov 2026 23:56:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-362130-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 90EF1114309; Thu, 12 Nov 2026 23:56:30 +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 444EF120402; Thu, 12 Nov 2026 18:51:35 +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=1794509420;
	b=lwHIiCejgXAnez6uUW/baEKt3Ol4zDM0Gq+PTbwhTgOeCQAfYUEzT/uGSYei/knqeQwi
	 /3OYKtv4+MwGjW9/g3cwS4VBqkjnP4b01TqclR4cRNlb/tsvLWgy4M8IHiRKQlTRS98Cg
	 aOdjktqh4/ZnTlyUbluIMX9c6dQS0rmAvU9ZZtPy716r3r6DAZQFDyEnfkMuRxBSs0aoQ
	 7ZdtYlr4ejTXUa+0BwhZ6yp/RqLcUNaOqdAyZrxy5qfBlp0RfSQklLqCHLKvg6iLMiTnt
	 0NDi0hnOdXw9JdwP+y/mqUalK+386vjp2BWxkoYTk7m0viWCz+rwTjXLHBIdFQF/fXA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794509420;
	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=A9nOSUHnoWfXTIdXQxyu3WLnnOXc0gekJomuF8p6xT8=;
	b=O9GLD0zTg6akeHRqlO7bfy3ZcUVZiiPW3iMbgRkhjARMIgSm1OtbPflF8DWtsZ0nvAFD
	 z4DqpJaN5GZXzLw0fXMbHbYN9VrP+m+0YbOXlfX4bngYLRZ2cp4xc23p+B2tWO2zFvnLp
	 2vfGCO4IZi8szprUe8o3YsPSvI0T8H8VrX3LgWwPl28Sjdk9b+KrM3TVBn8V2o1fEG0d7
	 NCAeMBPeVOehk2Z7/JD6UGu5c+1J2du6qi046npW2NwBOzzuWN1Ft77YciKZtlH5ebFe+
	 TYdHaf8CsWO8B6VOeJc1Rkdt8P7OFyv/CvV545KdaZ2q3yp2IVA6QcattMj0bQp5S7Q==
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=MYHBSodA;
	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 EEEF2606A323;
	Thu, 12 Nov 2026 18:50:19 +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=MYHBSodA
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=1794509409;
	b=t16WXhwBgRUjJnQudu4BRGP17QNkswZSMUKftDNvOCkBqPDr9ZWG8CX1Ltzuzyoz08fM
	 26Bre6kOYNaa45TkPm2MsueEjMtM3VflNGnsB+3VrS547n7HOjnXbFQWjVleT2ClMsByF
	 f+pV8aeTGVnGsoKWau3F8gszUAVfDsmPzf0HCEnXdehpGZnLADtQt2J++DzGuFvdAhdD0
	 TEFOaB3kDSnP7TC9O7emxmkhE5ier/3zU7D7/JBDrSzrXbAqgH0TgX3NihFqhZILVlovU
	 7RP69AYV1dH3b/y4j+pRPpVTa88IA3yCSxzVCxBflXXPIfq0SV2pcvdHbFrgGJJwTmw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794509409;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=A9nOSUHnoWfXTIdXQxyu3WLnnOXc0gekJomuF8p6xT8=;
	b=xTUwY/rI/uK2GI4rELRNt4/Cja6QIEG+/ZxC0XMIs9y5u/JC1HDTnNzmNElhpFKmY3m2
	 ZDYv0+dJn+3sFoLXaUxvRZkjKHtwt3xwqv5715nmyDaNBIAqrrIXkzMPNpNpfHzH6+m6S
	 sue/K5h1k2CvfQeJFSJl3qrmu/VIHBNAS88lHsEWenrN25a/LRSUMiM6vq9hinKpPOZdc
	 xLFBaeDBj/0lsYYGqybpBjyE3X3KOG0POCCZRKs5yIwoTTFOAtea0o+SiL5EH+YtoCt5T
	 GRpuAWhrwdfV4glFk2xFhrborHPdo/KcBXCFHPXjhWG3WW/QnuZ1uAI4PzZzkzoCP+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=MYHBSodA;
	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 17CFA606A327;
	Thu, 12 Nov 2026 18:50:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3F3F1F000C6;
	Thu, 12 Nov 2026 18:50:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794509408;
	bh=A9nOSUHnoWfXTIdXQxyu3WLnnOXc0gekJomuF8p6xT8=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=MYHBSodAkMetau4H255rXTndq7VAQ7Xtou41f3JHr6HfyIDwSW3qicFr/NB71BBQZ
	 qjzipRxQ3bhmCXNwvcZ7ZecPVPuYcxcy8tCGn9ec+cOma/h12284N0JKmjKzQuvfKP
	 IWrzeqcw4x2eJwj49I6S6ybppvumM9LtvjJjatb9ioWIsZNK7KPFRQ9rX+sxzEE0WJ
	 Qgbfa1UGOf9E9KPXJe6y6RgZppcjRsoBlZnfjNmYNBSccuYAweeQYZCZUdXNoPd5UC
	 lhyrghr5MBbFH5ilVDVs642rhZ7A4KETqR92xAovruqoOlDUL2zGwzbXVEp8D7qCb1
	 TxD444MCL84pQ==
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 B4460391AF9C;
	Thu, 12 Nov 2026 18:50:08 +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: <20261110213628.3476051-1-edumazet@kernel.org>
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, willemb@google.com, horms@kernel.org, mst@redhat.com,
 jasowangio@gmail.com, xuanzhuo@linux.alibaba.com, eperezma@redhat.com,
 hassansultan@google.com, virtualization@lists.linux.dev