bisecting fixing commit since dce0f88600e49746b4bda873965b671a23ff4313 building syzkaller on f90ec89960664f503e0811d8b67c56bb1128d47d testing commit dce0f88600e49746b4bda873965b671a23ff4313 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b778e5b735c61605798e24fded9269e9c636354924c0fb09f528c74327030a2d all runs: crashed: general protection fault in vxlan_fdb_destroy testing current HEAD 4938296e03bd227e5020d63d418956fe52baf97c testing commit 4938296e03bd227e5020d63d418956fe52baf97c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 8472ba8ee8a75afb2e3209a7f340c898e2881cbd85d4376b480d994e081c541a all runs: crashed: general protection fault in vxlan_fdb_destroy revisions tested: 2, total time: 27m8.240303025s (build: 19m59.655935208s, test: 6m37.289067377s) the crash still happens on HEAD commit msg: Linux 4.19.198 crash: general protection fault in vxlan_fdb_destroy IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready device veth0_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready 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: 7140 Comm: syz-executor.3 Not tainted 4.19.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__write_once_size include/linux/compiler.h:288 [inline] RIP: 0010:__hlist_del include/linux/list.h:679 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:vxlan_fdb_destroy+0x9e/0x180 drivers/net/vxlan.c:788 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d8 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 ac 00 00 00 4d 85 e4 4d 89 65 00 74 25 49 8d 7c RSP: 0018:ffff8881dc8e6d10 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff8881e15b6480 RCX: 1ffff1103b5add0f RDX: 1bd5a00000000040 RSI: ffff8881e15b6480 RDI: ffff8881e15b6488 RBP: ffff8881dc8e6d30 R08: ffff8881dc398dd0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dead000000000200 R14: ffff8881dc8e6e00 R15: 00000000fffffff0 FS: 00007f95d2cfb700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffd49ca990 CR3: 00000001db2c9003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vxlan_dev_create+0x3bb/0x750 drivers/net/vxlan.c:3279 vxlan_newlink+0xa1/0xe0 drivers/net/vxlan.c:3506 rtnl_newlink+0xce2/0x1360 net/core/rtnetlink.c:3141 rtnetlink_rcv_msg+0x34f/0x950 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x13e/0x3d0 net/netlink/af_netlink.c:2457 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4800 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x443/0x660 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x667/0xc60 net/netlink/af_netlink.c:1911 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 kernel_sendmsg+0x26/0x30 net/socket.c:681 sock_no_sendpage+0xfd/0x140 net/core/sock.c:2668 kernel_sendpage+0x60/0xd0 net/socket.c:3581 sock_sendpage+0x6d/0xd0 net/socket.c:912 pipe_to_sendpage+0x212/0x430 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x2cb/0x720 fs/splice.c:627 splice_from_pipe+0xbb/0x120 fs/splice.c:662 generic_splice_sendpage+0x10/0x20 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0x71e/0x17e0 fs/splice.c:1408 __x64_sys_splice+0xdc/0x1a0 fs/splice.c:1408 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4645a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f95d2cfb198 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004645a9 RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000523120 R08: 000000000004ffe2 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bfa0 R13: 00007f95d2cfb6bc R14: 00000000ffffffff R15: 0000000000000006 Modules linked in: ---[ end trace 43612f42a516ebdf ]--- RIP: 0010:__write_once_size include/linux/compiler.h:288 [inline] RIP: 0010:__hlist_del include/linux/list.h:679 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:vxlan_fdb_destroy+0x9e/0x180 drivers/net/vxlan.c:788 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d8 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 08 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 ac 00 00 00 4d 85 e4 4d 89 65 00 74 25 49 8d 7c RSP: 0018:ffff8881dc8e6d10 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff8881e15b6480 RCX: 1ffff1103b5add0f RDX: 1bd5a00000000040 RSI: ffff8881e15b6480 RDI: ffff8881e15b6488 RBP: ffff8881dc8e6d30 R08: ffff8881dc398dd0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: dead000000000200 R14: ffff8881dc8e6e00 R15: 00000000fffffff0 FS: 00007f95d2cfb700(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dd298f000 CR3: 00000001db2c9001 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400