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

From: David Miller
Date: Thu May 20 2021 - 18:24:33 EST


From: Aleksander Jan Bajkowski <olek2@xxxxx>
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 <olek2@xxxxx>

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