🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Alexander Duyck Wed, 25 Nov 2026 17:11
Re: [PATCH net v2] ice: do not report CHECKSUM_COMPLETE when an XDP program is attached
#22681
Author: Alexander Duyck
Date: Wed, 25 Nov 2026 17:11
28 lines
13922 bytes
On Wed, Nov 25, 2026 at 1:52 AM Tianyi Gao <tianyi@cloudflare.com> wrote:
>
> On E830, ice reports CHECKSUM_COMPLETE with the generic checksum (GCS)
> that the hardware computes over the received frame. If an XDP program
> changes the packet and returns XDP_PASS, that checksum no longer
> matches. The stack then checks the packet again in software and calls
> netdev_rx_csum_fault().
>
> On Cloudflare servers, an XDP load balancer removes the encapsulation
> of the packets that it accepts locally. Our production traffic hits
> netdev_rx_csum_fault() all the time.

Thank you for addressing my comments. My biggest concern as this point
is still this opens up potential holes for exploitation. While it
doesn't appear to directly enable an exploit it is one of those things
that can be stacked to allow for someone to take advantage of things.
I would rank it up there with the e1000e jumbo frames packet
truncation issue/fix from back in the day
(CVE-2009-4536/CVE-2009-1385).

I will give this my "Reviewed-by" as there is some level of XDP-based
shooting yourself in the foot required to trigger this. However, that
said my suggestion would be to be very careful stripping headers like
this as it could lead to future exploits.

Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads