Re: [PATCH] net: core: Fix slab-out-of-bounds in netdev_stats_to_stats64
From: Alban BrowaeysDate: 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
[PATCH] net: core: Fix slab-out-of-bounds in netdev_stats_to_stats64
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. == BUG: