From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796281368; b=yM59MeH3a6/LrbkNlZmINujAqNJTancE/oclEE7HWjNMzQI2wU1dV5JW8OuFrkI8gkpf txfNpMi+/iwNKatcJHHgONXe7ttsWzlEj9mVwKwvfdoZYB39epZis5tgnRTs3FMcfD9AR rLhO074I3dKZ8n9ucMCeXTDa1kDm+uM2eUBqN0PO5G9b2u2KRqB7LFG6vCT3jk6iQvpbx 330BKoAq0c2EZHmmo3R2vruoLh+M9EP7kwRfV+AFTPpd/RYwK/wTb/t9n5aIr6Wc0UfcC sMvkDO3ObW3luSD+N+5fIXGJ2YO+95sQwAjH9TJiE/H5VRAp78dMpNl5t9S/CnWTfLQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796281368; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=BR4NviEqW7Tcym8ltSQK5hr/7EJAh/jWfweaWWfDmho=; b=oYlKypxkRcWM56dOPzmZCal1ObTmKVsf1o0DOlBmR2Q2YFuaEft/HHTSFRBY2A6RahXP A/iH4e9hbs0NcGDW2C2qAmTOOaUXAxyRSkPJQi5PRRjLH8GyZQHHn/tOchva9LcbkK1FT sjIC8ulUOyNm4E/NUEYA6tBxMJ4DzqF2Zi2XDvjMnWJwuaHDTZHmZG4zAJQ6xwFuANJEr BixhA71u3ZZvLvIYReo5O5jWk6Sj3hECoo10j2YLudcJEXayo1FUI14F4TfOV/DOK+Zdg GHyGcibugBCaLQ9f0WmlQT18gU6xP97yv0CFlL4O+q774H4JmGDYubjlPQixUloUlPw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=VFGUyFTK; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=a29McIcI; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD745606A336 for ; Thu, 3 Dec 2026 07:02:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BD745606A336 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=VFGUyFTK; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=a29McIcI DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796281366; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BR4NviEqW7Tcym8ltSQK5hr/7EJAh/jWfweaWWfDmho=; b=VFGUyFTK3VMUWINhOCxZXP5eVuUc0ur+P5ry0AB0+OzoiORUiENrbtxwnHUjhxmW8c5iMN vhKTf7PGotPkJiqYR68CbNJAQ+MusIa5rJ4ibKyOY49cG94iz7XWc+xZWRF858j+cVP7P6 AG3BeoBotkc/mqUa/ZOLxTUdLBz4zks= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-220-ZAh6EPhyPs6YjtKuhh7bKA-1; Thu, 3 Dec 2026 07:02:44 +0000 X-MC-Unique: ZAh6EPhyPs6YjtKuhh7bKA-1 X-Mimecast-MFC-AGG-ID: ZAh6EPhyPs6YjtKuhh7bKA_1796281363 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-4a3705ea6ccso7498109f8f.2 for ; Wed, 02 Dec 2026 23:02:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796281363; x=1796886163; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=BR4NviEqW7Tcym8ltSQK5hr/7EJAh/jWfweaWWfDmho=; b=a29McIcI+NLCo6n7+ScN+6BgoPPE04E8GNPdNWn83Y4NkXC0fvOIYjciwiMPFowlqA o3cc1hMnMrWRWZQEEXCJcltkGaA4BhqAjtu+Ld6XeKhYG1xB8h3AYtC15pNpQcPoNr6l K3VtbjoeKHFanLR3EwuVq54eozATfwC8+VxBIAFFUx6VP6P/0Quc5I02ilexNfbS7lEG Btc54ciL599UHyrFKFpOWKYufD2u/9B1OI2hul3pIb5QQSCXuJMfEvu6bDhffAeuWcRW emp2eecVIreFE2STN5o+A+EJQ+QuLFOsgh/5LuMhgbVqbDL1m7jjOlAuDoRYxHTRzk9U FmOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796281363; x=1796886163; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=BR4NviEqW7Tcym8ltSQK5hr/7EJAh/jWfweaWWfDmho=; b=XV0Wtewima/T0tiv/wM5hw43XnjowWZBg8ct9DsxBYPSqItTveq0DZWFuvEmOI1Gdc 6H2wK/x+vXSdR68BEvJDAtISzt+uFgSiCp4O8niDDDrlbuZcmByeVfHmWj1uF2xnoich aTJyj7ENZcUJ+lCfdYxx/JcFLNFkfapHL049w8upTzRjrXOY38FiUVWdrGqXP7T30FVC Orynnq3qiQxfp+JBlzWuror4RUt/9BuCdkeXVq3zOFnPaotUrNMeezmKBnzppkSl6+Cg hqOhytyCEpj6dwXANVo47UYcYqu/4yOzT0lycDJ91s7dQxMyIOrp2o+6DgVuRp9dqG/Z FuWw== X-Forwarded-Encrypted: i=1; AL+hErEQDB6sF0uBHbCuN624xCGf0XPiux8oxUE9FsvFLr17rXk6GFwvhgvvMygVgXEo7DRS/qEUj9yAdmk=@vger.kernel.org X-Gm-Message-State: APuU4Z9ddBrkTkQFU7n+rmQABNRqALiA0YDp8u7GEsDSjKZ9zOaBbQk4 oBn7thN6oQze6/FGeB1RE8tRPuzIzdLY9jf18ebly7ZBUwP4CZ20edstFFyH6EbAHV8CfFBW1Bx AchO8F/5I/0WSHZCae01lshfDigQMSFB09tn2tOuCaTMWllM8nMcA34TXOwbwmH2pZnxIzg== X-Gm-Gg: AZFdTZdFWq/1ms2UBXsb4BihUPiWCLVgr8c1ePLXI87Zkb3Jy6JR3wD0qiOYeS3UOD9 FYB1bx1WVlCyexE0t3za4TxZtdLmFVkdkmwVLJBbl6rowSMw9epqLS2NjhJqU7ojq70vU/unXZy VgnNwh+CU/SYnczsKnWaVbOkMlYXBi8W38fx0gDcQ7gA0gwCH//yXe1wDWocOsXvYGlWlZhmBHP 2o9wQsAo0ZBZPl0y7iDx8tRjSF+hIdQaVCjcj5lxbzm5z4MMFUnbzOi6itrmAj0TXj0gOCKxaqa 62eHQub6H2e9ZXoDyNEROBKfG4UecuFx6bWFqUhhRJClkHHvIlbQuFIKi+2ssvloxof/ZwTFG98 edKkNcJGpHTFCQHujPQ7xwmDmMeD+mp0nqd46aRvjuw== X-Received: by 2002:a5d:6691:0:b0:4a6:c3f:9d0e with SMTP id ffacd0b85a97d-4abb3d2c0bemr62125489f8f.44.1796281363001; Wed, 02 Dec 2026 23:02:43 -0800 (PST) X-Received: by 2002:a5d:6691:0:b0:4a6:c3f:9d0e with SMTP id ffacd0b85a97d-4abb3d2c0bemr62125448f8f.44.1796281362445; Wed, 02 Dec 2026 23:02:42 -0800 (PST) Received: from redhat.com ([2a0d:6fc0:153a:4c00:6468:7acf:febf:a046]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6baa3882sm80587434f8f.49.2026.12.02.23.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:02:41 -0800 (PST) Date: Thu, 3 Dec 2026 02:02:37 -0500 From: "Michael S. Tsirkin" To: Showta Ishizaki Cc: netdev-bot+sinfo@kernel.org, Willem de Bruijn , Jason Wang , netdev@vger.kernel.org, Eric Dumazet , Jakub Kicinski , Paolo Abeni , "David S. Miller" , Andrew Lunn , Simon Horman , Eugenio =?iso-8859-1?Q?P=E9rez?= , Xuan Zhuo , Richard Weinberger , Anton Ivanov , Johannes Berg , Jonathan Corbet , Shuah Khan , Randy Dunlap , Chris Arges , Paulos Yibelo , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , virtualization@lists.linux.dev, linux-um@lists.infradead.org, linux-doc@vger.kernel.org Subject: Re: [PATCH RFC net v10 0/6] more virtio-net csum hardening Message-ID: <20261203020144-mutt-send-email-mst@kernel.org> References: <20261203.rfcv10.52108.0.zakinko@snowrabbit.org> <179626315509.3305.6607913790638974560@kernel.org> <20261203.rfcv10-reply-bot.zakinko@snowrabbit.org> X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261203.rfcv10-reply-bot.zakinko@snowrabbit.org> On Thu, Dec 03, 2026 at 11:39:59AM +0900, Showta Ishizaki wrote: > 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. Just to put things into perspective, we are talking about users who already can inject packets with bad checksums. > I can put these symptoms in the cover letter or the commit messages on > the next repost if that would help. > > Showta