[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250711153605.4c13b166@kernel.org>
Date: Fri, 11 Jul 2025 15:36:05 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: Oleksij Rempel <o.rempel@...gutronix.de>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
kernel@...gutronix.de, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Maxime Chevallier <maxime.chevallier@...tlin.com>,
lst@...gutronix.de
Subject: Re: [PATCH net-next v4 0/4] net: selftest: improve test string
formatting and checksum handling
On Fri, 11 Jul 2025 10:42:52 +0200 Marc Kleine-Budde wrote:
> Is passing packets with known bad checksums to the networking stack with
> CHECKSUM_NONE, so that the checksum is recalculated in software a
> potential DoS vector?
I'm not aware of it being a DoS vector. We're talking about a basic
arithmetic sum here, not a CRC or anything math-intensive. So if we
assume the CPU is fast enough to copy this data via the socket API
to user space it is definitely fast enough to add it up and drop
a packet.
Powered by blists - more mailing lists