Re: [PATCH net v2] net: dpaa: Pad packets to ETH_ZLEN
From: Eric Dumazet
Date: Tue Sep 10 2024 - 10:49:06 EST
On Tue, Sep 10, 2024 at 4:32 PM Sean Anderson <sean.anderson@xxxxxxxxx> wrote:
>
> When sending packets under 60 bytes, up to three bytes of the buffer
> following the data may be leaked. Avoid this by extending all packets to
> ETH_ZLEN, ensuring nothing is leaked in the padding. This bug can be
> reproduced by running
>
> $ ping -s 11 destination
>
> Fixes: 9ad1a3749333 ("dpaa_eth: add support for DPAA Ethernet")
> Suggested-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Signed-off-by: Sean Anderson <sean.anderson@xxxxxxxxx>
Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>
Thanks !