🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8380

Re: [PATCH net v6 0/5] more virtio-net csum hardening

#8380
From: Jakub Kicinski
Date: Wed, 28 Oct 2026 22:43
21 lines
8913 bytes
On Sun, 25 Oct 2026 09:50:24 -0400 Michael S. Tsirkin wrote:
> > Apologies for reposting so frequently, I know netdev bot will be unhappy
> > with that.  But Paulos's report made a lot of publicity, there is a lot
> > of people looking into this, so I feel there's value in defending
> > against all this class of issues sooner rather than later.
> > 
> > The issues were mostly found by code inspection, but all reproduced by
> > me in a VM.  
> 
> Ok, I looked at netdev bot review, and there's another issue.
> 
> If a tunnel inner packet happens to have a valid header at
> inner_nh_offset, it will pass all checks, but the transport header can
> in fact overlap e.g. the real TCP header and checksum will overwrite
> that.

Sorry for boring process stuff but FWIW the last patch also does not
apply?
-- 
pw-bot: cr
Technical Details
Message-ID: <20261028154315.4b9f3077@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353068-linux-kernel-netdev=dewy.ru
References: <cover.1792768096.git.mst@redhat.com> <20261025094449-mutt-send-email-mst@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353068-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v6 0/5] more virtio-net csum hardening
Date: Wed, 28 Oct 2026 15:43:15 -0700
Organization: Usenet Network
Message-ID: <20261028154315.4b9f3077@kernel.org>
References: <cover.1792768096.git.mst@redhat.com>
	<20261025094449-mutt-send-email-mst@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1886970"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dzPMCtTZOpvTJTw50IPn92rd3Xg= sha256:qNuMHmyANVvHpu3w2buyUraC1Up4JrAGDglWf/4DG2k=
	sha1:YMJo/MeTcal10SoruiEbbVSbZmw= sha256:l6xBzLy7gCeiP7ZNyKHfGNPhZxGmABmgd1bny2q1WsU=
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 C95CD125C4E; Thu, 29 Oct 2026 01:43:53 +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 F1cyMLorD99Q;
	Thu, 29 Oct 2026 01:43:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353068-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 6BB3E125C4D; Thu, 29 Oct 2026 01:43:41 +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 78FDB27DD6; Wed, 28 Oct 2026 22:43:19 +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=1793227398;
	b=spg6B67/KbJqENfZYWBWh1A2ZF2148LMkpyvrr0jjI8Bn739m1CM6zCk0kA/M74sLxIt
	 45rgjnxbF8eJTnt0PaHRd9cka/SSs8S07r1dUDNM9AoGHvQJdeSkb8pB1JicB9qCRDuYr
	 KMIaO9Hbm4UzwStxcIxwnVQt9NT6n39YjZueL4Um3Bbvag1vgOgy/6RyG4y+Lc+pw0d+A
	 i9l3GuLZwEV0+z1msY/3jN6i/4pSYJqFJHeMumI13l/+EHnR8IfgIP/ITSMIOMV8AxrcX
	 rAZZ2Vf0ZFAma2mD/W9lZy0ESHuw4+BuKb/SZ3nUWEgDPiSXX3wPVFd1rNyZSuAWZLw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793227398;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=eqVVJFeJnbQ+zzZ8jfFA+lZorIfCEgmpfZFGduBn4xA=;
	b=aKej2GSK5CdUL4MSIk1K0+adPvwYgHpwkNuzKVE/MCwE81tqPL/98pH9dKzgnuJRwkvW
	 Byeh9OaV+QTTDTNg1608RIrVqFN8GXuxAtA31oARb7CkxyhnbWNLOqrftTmrMAyjO01Bz
	 XUjhsOmgNDg27lih/uVNfuAlobydhz5CE4FhZSTGWWtr7DdPjQXm0JaxuQqqikT+YxpHF
	 I7tCf64ZKoRf/b+g7GfNgRdJ2zSOOAux/u2ALBVhm36PNLMHmJ3rcPsfwc0YoTv1jxz3E
	 LdR4ZyWX4/U5pmFPYs1MmnWbeq01VK0SslOoxHPUobD/IUrRxFf3eXZI8YFSci2ExhQ==
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=b2yzSQh9;
	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 0C67C606A32D;
	Wed, 28 Oct 2026 22:43:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=b2yzSQh9
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=1793227397;
	b=uOqHmHBcBhpMkdBL6/TGnKGWKZPdcLkGXfI+pxVclEU20h+JpTq37qwLogreu1BFUm+w
	 Ip23NL6UpqYjq+GLKuVkis+TpAF6WSvRhsxW9/8LRrr+vZr19kDbnErKDYjN8XYNrJSB8
	 iKjZIlO6VmG4449FCGmXpJNDsZQjGXT1RZtpO3B5PHNuMWTsg011ChBwGJfqD7hirS4GI
	 EAVTrOIyASzUQBCzKaFv+cmHsfuAretDTOYhsbbPEpfxKyfnX3o/E1GAA7C6awaNCwK/y
	 Wf1r0K7mhQx2ZkT3cYLwJSfroxZ0RKQogfg3a5ah/62B38QFksVRKEy6gznIhlg7bsg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793227397;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=eqVVJFeJnbQ+zzZ8jfFA+lZorIfCEgmpfZFGduBn4xA=;
	b=uBuQ3zRWjfnZpkIx1QaHsE4knPHg9sJSk8q3J5U7AaiA4DX5U2SNUoStloi8XnDia0V4
	 zbySPczyT3HoZ1lPLOC3yhNLZk2+flrKJtr6KOrlj88tN4DfZiWdr5FNa70pgL4eYZeT8
	 r2jklcCBG227DZnHPmKQzYgjIpN7YF6MnBqlhRgCfmUilDMgd6c6f44yNLG5JtczuMQ+y
	 xZj/A/7OYA2vJ53gQ2Rjso4Z/xPDMUjHN9jE0pkuqg7EYNAIedJRXa8VR9TtVKOrMX57G
	 Kt0tOYxv9tv3L5A9jAfbxi7TMH1Rq2qdasLT3XNdC+U+I4DdWbNwmPK21fxyOuqjTJg==
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=b2yzSQh9;
	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 E6FAD606A31C;
	Wed, 28 Oct 2026 22:43:16 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2DBA1F01825;
	Wed, 28 Oct 2026 22:43:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793227396;
	bh=eqVVJFeJnbQ+zzZ8jfFA+lZorIfCEgmpfZFGduBn4xA=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=b2yzSQh9/ObulIP0c9ObMSCqk3LxNuMxg1pcROA+zuHuRKwc9T9NOJQakpG3rvWWy
	 7q2b1HcedbNjPL6H2wPG+Vsm5+0iEU3AFpy7qX77REOc7s6AiPbyp2fjHHocU713dS
	 usc7RgtrBobb7x7ZmIUUAPAcaxnmF+pXBkL38Uy1cbFwoSK1Ng4z9e9XC7e1fAp4AD
	 cOaHSykhfyb00xXAV8W3dqM81vrOgZo9RInEpZyLfdyQrBOJI/5suhvF1KripuFVUv
	 nfMriYZJeHVs/g0r5C76VDdEptiR2ozQBxc664UdXHQMDvxP/LlkhpePqdUojF6ui6
	 TSBJpqWWJxNmA==
X-Cc: linux-kernel@vger.kernel.org, Willem de Bruijn
 <willemdebruijn.kernel@gmail.com>, Chris Arges <carges@cloudflare.com>,
 Björn Töpel <bjorn@kernel.org>, Phil Sutter
 <phil@nwl.cc>, Jason Wang <jasowangio@gmail.com>, Eugenio Pérez <eperezma@redhat.com>, Xuan Zhuo
 <xuanzhuo@linux.alibaba.com>, Andrew Lunn <andrew+netdev@lunn.ch>, "David
 S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo
 Abeni <pabeni@redhat.com>, netdev@vger.kernel.org,
 virtualization@lists.linux.dev, Max Krasnyansky <maxk@qualcomm.com>, Rusty
 Russell <rusty@rustcorp.com.au>
X-In-Reply-To: <20261025094449-mutt-send-email-mst@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