kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16455 Comm: syz-executor.2 Not tainted 5.0.0-rc7+ #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1726 Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f RSP: 0018:ffff88809b957158 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888075a95058 RCX: ffffc900073d3000 RDX: 0000000000000016 RSI: ffffffff86215234 RDI: 00000000000000b0 RBP: ffff88809b957170 R08: 1ffff1100eb52a0b R09: ffff888075a95058 R10: ffffed100eb52a15 R11: ffff888075a950af R12: 0000000000000000 R13: ffff88800e595600 R14: ffffffff86224150 R15: ffff888075a95058 FS: 0000000000000000(0000) GS:ffff8880ae900000(0063) knlGS:00000000f5d44b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5d2610c CR3: 0000000097131000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6erspan_newlink+0x66/0x7b0 net/ipv6/ip6_gre.c:2210 __rtnl_newlink+0x107b/0x16c0 net/core/rtnetlink.c:3182 rtnl_newlink+0x69/0xa0 net/core/rtnetlink.c:3240 rtnetlink_rcv_msg+0x465/0xb00 net/core/rtnetlink.c:5130 netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5148 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:631 ___sys_sendmsg+0x806/0x930 net/socket.c:2114 __sys_sendmsg+0x105/0x1d0 net/socket.c:2152 __compat_sys_sendmsg net/compat.c:757 [inline] __do_compat_sys_sendmsg net/compat.c:764 [inline] __se_compat_sys_sendmsg net/compat.c:761 [inline] __ia32_compat_sys_sendmsg+0x7a/0xb0 net/compat.c:761 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x281/0xc98 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f48869 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f5d440cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020001340 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 828156a2c9e878b1 ]--- RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1726 Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f RSP: 0018:ffff88809b957158 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888075a95058 RCX: ffffc900073d3000 RDX: 0000000000000016 RSI: ffffffff86215234 RDI: 00000000000000b0 RBP: ffff88809b957170 R08: 1ffff1100eb52a0b R09: ffff888075a95058 R10: ffffed100eb52a15 R11: ffff888075a950af R12: 0000000000000000 R13: ffff88800e595600 R14: ffffffff86224150 R15: ffff888075a95058 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:00000000f5d44b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002e129000 CR3: 0000000097131000 CR4: 00000000001406f0 IPVS: ftp: loaded support on port[0] = 21 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400