[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20210520.152421.1110528865195726730.davem@davemloft.net>
Date: Thu, 20 May 2021 15:24:21 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: olek2@...pl
Cc: hauke@...ke-m.de, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] net: lantiq: fix memory corruption in RX ring
From: Aleksander Jan Bajkowski <olek2@...pl>
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@...pl>
Please repost this with an appropriate Fixes: tag, thank you.
Powered by blists - more mailing lists