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 Modules linked in: CPU: 0 PID: 10385 Comm: syz-executor.2 Not tainted 4.14.281-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888056426480 task.stack: ffff888056700000 RIP: 0010:__write_once_size include/linux/compiler.h:212 [inline] RIP: 0010:__hlist_del include/linux/list.h:688 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:427 [inline] RIP: 0010:vxlan_fdb_destroy+0xb4/0x1f0 drivers/net/vxlan.c:787 RSP: 0018:ffff888056707150 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff88809fc6a200 RCX: ffffc900068d2000 RDX: 1bd5a00000000040 RSI: ffffffff83d8fc42 RDI: ffff88809fc6a208 RBP: 0000000000000000 R08: ffffffff8b9af4e0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200 R13: 0000000000000000 R14: ffff888056707250 R15: ffff888056ba9500 FS: 00007f2756853700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faf5c8ef998 CR3: 00000000a5516000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vxlan_dev_create+0x3b0/0x710 drivers/net/vxlan.c:3283 vxlan_newlink+0xa3/0xe0 drivers/net/vxlan.c:3504 rtnl_newlink+0xf7c/0x1830 net/core/rtnetlink.c:2730 rtnetlink_rcv_msg+0x3be/0xb10 net/core/rtnetlink.c:4322 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2454 netlink_unicast_kernel net/netlink/af_netlink.c:1296 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1322 netlink_sendmsg+0x648/0xbc0 net/netlink/af_netlink.c:1893 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 sock_no_sendpage+0xe2/0x110 net/core/sock.c:2610 kernel_sendpage net/socket.c:3407 [inline] sock_sendpage+0xdf/0x140 net/socket.c:871 pipe_to_sendpage+0x226/0x2d0 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x326/0x7a0 fs/splice.c:626 splice_from_pipe fs/splice.c:661 [inline] generic_splice_sendpage+0xc1/0x110 fs/splice.c:832 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0xd59/0x1380 fs/splice.c:1382 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f2757eff109 RSP: 002b:00007f2756853168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f2758012030 RCX: 00007f2757eff109 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f2757f5908d R08: 000000000004fff2 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc3aaf4d3f R14: 00007f2756853300 R15: 0000000000022000 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 11 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 09 01 00 00 48 85 ed 49 89 2c 24 74 28 e8 f4 RIP: __write_once_size include/linux/compiler.h:212 [inline] RSP: ffff888056707150 RIP: __hlist_del include/linux/list.h:688 [inline] RSP: ffff888056707150 RIP: hlist_del_rcu include/linux/rculist.h:427 [inline] RSP: ffff888056707150 RIP: vxlan_fdb_destroy+0xb4/0x1f0 drivers/net/vxlan.c:787 RSP: ffff888056707150 ---[ end trace 42b468609a7ceebb ]--- ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 11 01 00 00 jne 0x123 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 4c 8b 63 08 mov 0x8(%rbx),%r12 20: 4c 89 e2 mov %r12,%rdx 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 0f 85 09 01 00 00 jne 0x13a 31: 48 85 ed test %rbp,%rbp 34: 49 89 2c 24 mov %rbp,(%r12) 38: 74 28 je 0x62 3a: e8 .byte 0xe8 3b: f4 hlt