2021-05-21 08:21:48

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net] net: lantiq: fix memory corruption in RX ring

From: Aleksander Jan Bajkowski <[email protected]>
Date: Thu, 20 May 2021 20:40:54 +0200

> In a situation where memory allocation or dma mapping fails, an
> invalid address is programmed into the descriptor. This can lead
> to memory corruption. If the memory allocation fails, DMA should
> reuse the previous skb and mapping and drop the packet. This patch
> also increments rx drop counter.
>
> Signed-off-by: Aleksander Jan Bajkowski <[email protected]>

Please repost this with an appropriate Fixes: tag, thank you.