summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2020-03-16 20:53:00 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-17 03:19:56 +0300
commit32ca98feab8c9076c89c0697c5a85e46fece809d (patch)
tree248d64fff9e080d57e52b46436af66155a5f0a6f /lib
parent065fd83e1be2e1ba0d446a257fd86a3cc7bddb51 (diff)
downloadlinux-32ca98feab8c9076c89c0697c5a85e46fece809d.tar.xz
net: ip_gre: Accept IFLA_INFO_DATA-less configuration
The fix referenced below causes a crash when an ERSPAN tunnel is created without passing IFLA_INFO_DATA. Fix by validating passed-in data in the same way as ipgre does. Fixes: e1f8f78ffe98 ("net: ip_gre: Separate ERSPAN newlink / changelink callbacks") Reported-by: syzbot+1b4ebf4dae4e510dd219@syzkaller.appspotmail.com Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions