summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBert Kenward <bkenward@solarflare.com>2017-07-12 17:19:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-21 07:42:19 +0200
commit6ae9dd281965423d95f63a5475c120f8af952a4f (patch)
tree5a782a3a0dea0c2aaf3715bcd1b9387dd6261e1f /net
parent5f69bb1d18c503a24a576509826f82aabca0a4bd (diff)
sfc: don't read beyond unicast address list
[ Upstream commit c70d68150f71b84cea6997a53493e17bf18a54db ] If we have more than 32 unicast MAC addresses assigned to an interface we will read beyond the end of the address table in the driver when adding filters. The next 256 entries store multicast addresses, so we will end up attempting to insert duplicate filters, which is mostly harmless. If we add more than 288 unicast addresses we will then read past the multicast address table, which is likely to be more exciting. Fixes: 12fb0da45c9a ("sfc: clean fallbacks between promisc/normal in efx_ef10_filter_sync_rx_mode") Signed-off-by: Bert Kenward <bkenward@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions