[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170703.024101.611675879403798301.davem@davemloft.net>
Date: Mon, 03 Jul 2017 02:41:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: alban.browaeys@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: core: Fix slab-out-of-bounds in
netdev_stats_to_stats64
From: Alban Browaeys <alban.browaeys@...il.com>
Date: Mon, 3 Jul 2017 03:20:13 +0200
> commit 9256645af098 ("net/core: relax BUILD_BUG_ON in
> netdev_stats_to_stats64") made an attempt to read beyond
> the size of the source a possibility.
>
> Fix to only copy src size to dest. As dest might be bigger than src.
...
> Signed-off-by: Alban Browaeys <alban.browaeys@...il.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists