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
Re: [PATCH RFC net v10 0/6] more virtio-net csum hardening
- From
- zaki…@snowrabbit.org (Showta Ishizaki)
- Organization
- Usenet Network
- Message-ID
- <2026…@snowrabbit.org>
- Date
- Newsgroups
- linux.kernel.netdev