lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] net: stmmac: fix memory corruption with large MTUs
    From
    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.

    \
     
     \ /
      Last update: 2019-03-19 21:35    [W:2.861 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site