Messages in this thread | | | Date | Tue, 19 Mar 2019 13:33:44 -0700 (PDT) | Subject | Re: [PATCH] net: stmmac: fix memory corruption with large MTUs | From | David Miller <> |
| |
From: Aaro Koskinen <aaro.koskinen@iki.fi> Date: Mon, 18 Mar 2019 23:36:08 +0200
> From: Aaro Koskinen <aaro.koskinen@nokia.com> > > When using 16K DMA buffers and ring mode, the DES3 refill is not working > correctly as the function is using a bogus pointer for checking the > private data. As a result stale pointers will remain in the RX descriptor > ring, so DMA will now likely overwrite/corrupt some already freed memory. > > As simple reproducer, just receive some UDP traffic: ... > Fixes: 54139cf3bb33 ("net: stmmac: adding multiple buffers for rx") > Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Applied and queued up for -stable, thank you.
| |