Linux Documentation
 help / color / mirror / Atom feed
From: Showta Ishizaki <zakinko@snowrabbit.org>
To: netdev-bot+sinfo@kernel.org
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>
Subject: Re: [PATCH RFC net v10 0/6] more virtio-net csum hardening
Date: Thu,  3 Dec 2026 11:39:59 +0900 (JST)	[thread overview]
Message-ID: <20261203.rfcv10-reply-bot.zakinko@snowrabbit.org> (raw)
In-Reply-To: <179626315509.3305.6607913790638974560@kernel.org>

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

      reply	other threads:[~2026-12-03  2:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  1:53 [PATCH RFC net v10 0/6] more virtio-net csum hardening Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 2/6] um: vector: trim skbs before verifying the header Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 6/6] net: add a sysctl to opt out of virtio net hdr checksum validation Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 1/6] net: account for ingress-resolved virtio net hdr state Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 5/6] net: virtio: compute the outer checksum of non-GSO tunnel packets Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 3/6] virtio_net: parse tunnel csum_start little-endian Showta Ishizaki
2026-12-03  1:53 ` [PATCH RFC net v10 4/6] net: resolve uncommon partial checksums at ingress Showta Ishizaki
2026-12-03  1:59 ` [PATCH RFC net v10 0/6] more virtio-net csum hardening netdev-bot+sinfo
2026-12-03  2:39   ` Showta Ishizaki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203.rfcv10-reply-bot.zakinko@snowrabbit.org \
    --to=zakinko@snowrabbit.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=anton.ivanov@cambridgegreys.com \
    --cc=bjorn@kernel.org \
    --cc=carges@cloudflare.com \
    --cc=corbet@lwn.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=habte.yibelo@gmail.com \
    --cc=horms@kernel.org \
    --cc=jasowangio@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-um@lists.infradead.org \
    --cc=mst@redhat.com \
    --cc=netdev-bot+sinfo@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rdunlap@infradead.org \
    --cc=richard@nod.at \
    --cc=skhan@linuxfoundation.org \
    --cc=virtualization@lists.linux.dev \
    --cc=willemdebruijn.kernel@gmail.com \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox