summaryrefslogtreecommitdiff
path: root/drivers/clocksource/Kconfig
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2017-07-27 01:22:07 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-29 21:25:05 +0300
commit996f6e12cfb33ff6c3e39b4511bb3b8bc564b342 (patch)
treef497109f548a6bbf976af1d0cada00b06387cd73 /drivers/clocksource/Kconfig
parent0254e0c632bfe4a0cf610e2d90397474144f00d2 (diff)
downloadlinux-996f6e12cfb33ff6c3e39b4511bb3b8bc564b342.tar.xz
team: use a larger struct for mac address
IPv6 tunnels use sizeof(struct in6_addr) as dev->addr_len, but in many places especially bonding, we use struct sockaddr to copy and set mac addr, this could lead to stack out-of-bounds access. Fix it by using a larger address storage like bonding. Reported-by: Andrey Konovalov <andreyknvl@google.com> Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource/Kconfig')
0 files changed, 0 insertions, 0 deletions