Article View: linux.kernel.netdev
Article #26107Re: [PATCH RFC net v10 0/6] more virtio-net csum hardening
From: Showta Ishizaki
Date: Thu, 03 Dec 2026 02:39
Date: Thu, 03 Dec 2026 02:39
23 lines
8650 bytes
8650 bytes
Thanks. This is Michael's series; I'm carrying it, and the issue it hardens is not theoretical and was not found by an LLM -- it was first reported by Paulos Yibelo, with further variants from the people credited in patch 4. I triggered it at runtime. Injecting, through a tap with a virtio_net_hdr, a frame whose csum_start/csum_offset point away from the real transport checksum, a kprobe on __dev_queue_xmit showed the skb reaching transmit still CHECKSUM_PARTIAL with csum_start inside the payload; the stack then completes the checksum at that offset, past the protocol processing that already read those bytes. With the series the metadata is validated at ingress and such a frame is resolved or dropped. For patch 5, Chris Arges triggered a wrong outer UDP checksum with non-zero Ethernet padding and I reproduced it for a v4 and a v6 outer; the v10 I posted folds in his fix. I can put these symptoms in the cover letter or the commit messages on the next repost if that would help. Showta
Technical Details
Message-ID:
<20261203.rfcv10-reply-bot.zakinko@snowrabbit.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376239-linux-kernel-netdev=dewy.ruReferences:
<20261203.rfcv10.52108.0.zakinko@snowrabbit.org> <179626315509.3305.6607913790638974560@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376239-linux-kernel-netdev=dewy.ru From: zakinko@snowrabbit.org (Showta Ishizaki) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH RFC net v10 0/6] more virtio-net csum hardening Date: Thu, 3 Dec 2026 11:39:59 +0900 (JST) Organization: Usenet Network Message-ID: <20261203.rfcv10-reply-bot.zakinko@snowrabbit.org> References: <20261203.rfcv10.52108.0.zakinko@snowrabbit.org> <179626315509.3305.6607913790638974560@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2124764"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:x2dW06q7M88uB2YaEFh/48CtrKA= sha256:4GPctB/f4YcpFN8qZd4TEQyxLYL+jG7asOmxGnkZtsQ= sha1:0GvC+MNQG+P617FDH3ZRNWeyUHg= sha256:XesysO2fcqHm+TJo6xiV+xJB+q5aINPEaWft6WbCohE= 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 BADBF1177F2; Thu, 3 Dec 2026 05:40:14 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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-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 AXWuDcWxaLqA; Thu, 3 Dec 2026 05:40:09 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376239-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=snowrabbit.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id BF0931177E7; Thu, 3 Dec 2026 05:40:05 +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 6E8C02700B; Thu, 3 Dec 2026 02:40:04 +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=1796265603; b=WsIMg2EbP8k4vH/x7SontGLrQ+Gd5eDUYLudVgXCDodeMOX+R/Uekrq7H0k1EluBEKnM U4WV/93op/RYT5syKrej5+e4uHWbb4vekdR8aCpgOe+VwUcUCl/6Zaor2G/D0UNEOWIaU JIw8QyahQ1IbzuW5dckQIjzTfNrk/Pd8K0BqTvVFOw8Ik8UtCRBmnx6kiA0DDoyylsXnC TbJbmJOgPjjzTYzW5/pjudNQSUsKyhSBPomH69BqGmRY6/QZ4B0QoOuIB0nQbHOOuhgyy c5AYCT3lPBZva0gpnmcGGPvX7jX213u6XixNKWjSSd8XBq/mE646TKHLAwkSzTWN0hw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796265603; h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject: In-Reply-To:References:Message-ID:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Transfer-Encoding:Date; bh=rSPMpyEjF9Owrag1cNVQpqHPluJlUpY2fyiXMmR4X5U=; b=HyCOnYfOXPIxXXeEssjU9YapAy6xy/WC5+HnkUw5YDSwFE9V6a5bvv2+6U4Z3wYdo5Hp o0O2+/xRRjVus+/mAz5g/WbB0RrxneK+HJ12MNlfUcpiFCBfWVxjepCer+f8/hjflgxM/ lUxePriBtyN0lFd1LXqDiXkQuTqWLKEohY4wxj5THFGeFTlGp7rDqH1TLAMPLrSNtPU5/ oYVyD7Vq7hWYOQGI0yjhNBzoa+z61kYvYN6s1IYgGi7o6E4u6yLY0BFznJbfmGVV48Vds +z2YV5roQANW3fuvXoc7itoge2Mp+ODOGPjT5cZXM+iC3/wMeGgOmp/9WzjUbre4d8g== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=snowrabbit.org; spf=pass smtp.mailfrom=snowrabbit.org; 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 3DACD606A338; Thu, 3 Dec 2026 02:40:03 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=182.48.54.220 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796265602; b=4WhrXHuUwz/ggPFvqQYZt7U6YryqbmZAmjiRpBRfpxUUEFhYmrA7t7vHqtf3ktmY2Emy 2Ufv49ieSLUvE6oahXxsKYDhPcMm559rG7y+ztE8XLqghrj1m697cX48iNfTrG5iPv80X 9z/HBnl0mDlEH8cHA1X1k7VCwhA2qZVyvqaia+dQc5z0Ln9MPgoZby7wF+e6MGKYI2lOg dMk7cmZmK4I+KYLKX2r5un+BXuy4BM8ufbLPsPTkYygHFFBjZM3VrZD7uga8g+YRuvSZ5 g1W7bKBSvyLk0USuRFqsh0BuNVj7HS2S0my8aEdjCtz1e05fCGun1lSWfQK0s7vgnkw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796265602; h=DMARC-Filter:Received:From:To:Cc:Subject:In-Reply-To:References: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Date; bh=rSPMpyEjF9Owrag1cNVQpqHPluJlUpY2fyiXMmR4X5U=; b=Lzsa4+1wjdtkSSsQ2dtvsWroKQfFy+/AvSiUgqQYxZSQc7AC+B39752LaHDJNbhQr237 OwgVhrgOvrhaacp5eHKt5Pcb5Hii+zUUgeG3TMBX8E1W65pBHiwI4M00tnhxAD0nRyLoC 37xts0tdXriPwUeBAabwVqRCdb+++0spRlkCw25olsqu8n3OJ9jQJlVI1j8fUllJEoGCC Bz6N8kDsUWDMYdm5AF3QIM/xOeyOG/d0rFcFK1UOWOmCT6Wz1osVAmoldWfpVHVZ3CjRo yJSKKNWZOIEH0T9X69tvfp0mDLrIr+IMdeL+4oicxNHkdN69jJNmocSE3c8BjCtCXTA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=snowrabbit.org; spf=pass smtp.mailfrom=snowrabbit.org; arc=none smtp.remote-ip=182.48.54.220 X-Received: from bambi.snowrabbit.org (bambi.snowrabbit.org [182.48.54.220]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6C04E606A32D; Thu, 3 Dec 2026 02:40:00 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6C04E606A32D X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=snowrabbit.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=snowrabbit.org X-Received: by bambi.snowrabbit.org (Postfix, from userid 3001) id A6F9FC92FC; Thu, 3 Dec 2026 11:39:59 +0900 (JST) X-Cc: "Michael S. Tsirkin" <mst@redhat.com>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Jason Wang <jasowangio@gmail.com>, netdev@vger.kernel.org, Eric Dumazet <edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, "David S. Miller" <davem@davemloft.net>, Andrew Lunn <andrew+netdev@lunn.ch>, Simon Horman <horms@kernel.org>, Eugenio Pérez <eperezma@redhat.com>, Xuan Zhuo <xuanzhuo@linux.alibaba.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <skhan@linuxfoundation.org>, Randy Dunlap <rdunlap@infradead.org>, Chris Arges <carges@cloudflare.com>, Paulos Yibelo <habte.yibelo@gmail.com>, Björn Töpel <bjorn@kernel.org>, virtualization@lists.linux.dev, linux-um@lists.infradead.org, linux-doc@vger.kernel.org, Showta Ishizaki <zakinko@snowrabbit.org> X-In-Reply-To: <179626315509.3305.6607913790638974560@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