bisecting fixing commit since e6986423d28362aafe64d3757bbbc493f2687f8f building syzkaller on b0e8efcb4b0aac61f4647a76bbe54a5d38a370ba testing commit e6986423d28362aafe64d3757bbbc493f2687f8f with gcc (GCC) 8.1.0 kernel signature: ab298d5efabb1d4bd8cd480a24a29de96d0e8afa9d95146b34062572bc11625b run #0: crashed: general protection fault in dst_dev_put run #1: crashed: WARNING: locking bug in __queue_work run #2: crashed: WARNING: bad unlock balance detected! run #3: crashed: unregister_netdevice: waiting for DEV to become free run #4: crashed: kernel BUG at net/ipv6/route.c:LINE! run #5: crashed: general protection fault in fib6_purge_rt run #6: crashed: unregister_netdevice: waiting for DEV to become free run #7: crashed: general protection fault in dst_dev_put run #8: crashed: general protection fault in fib6_purge_rt run #9: crashed: unregister_netdevice: waiting for DEV to become free testing current HEAD 2821e26f3a0a3872184581caac8115bb02641941 testing commit 2821e26f3a0a3872184581caac8115bb02641941 with gcc (GCC) 8.1.0 kernel signature: e5cfb08e49746b8ec1a6fd3b5a982767ac16920068442a93e630c650dce96c89 all runs: crashed: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor revisions tested: 2, total time: 22m45.056687628s (build: 12m26.51669967s, test: 9m29.510612394s) the crash still happens on HEAD commit msg: Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm crash: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-executor tipc: Started in network mode tipc: Own node identity ac1414aa, cluster identity 4711 tipc: New replicast peer: 172.20.20.187 check_preemption_disabled: 8 callbacks suppressed BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.1/7489 caller is dst_cache_get+0x33/0xa0 net/core/dst_cache.c:68 CPU: 0 PID: 7489 Comm: syz-executor.1 Not tainted 5.5.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12d/0x187 lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold.1+0x84/0x9e lib/smp_processor_id.c:57 dst_cache_get+0x33/0xa0 net/core/dst_cache.c:68 tipc_udp_xmit.isra.15+0xab/0xcd0 net/tipc/udp_media.c:164 tipc_udp_send_msg+0x229/0x3d0 net/tipc/udp_media.c:257 tipc_bearer_xmit_skb+0x1a5/0x370 net/tipc/bearer.c:525 tipc_enable_bearer+0x7ef/0xb00 net/tipc/bearer.c:330 __tipc_nl_bearer_enable+0x265/0x390 net/tipc/bearer.c:994 tipc_nl_bearer_enable+0x1d/0x30 net/tipc/bearer.c:1002 genl_family_rcv_msg_doit net/netlink/genetlink.c:672 [inline] genl_family_rcv_msg net/netlink/genetlink.c:717 [inline] genl_rcv_msg+0x5e1/0x10f0 net/netlink/genetlink.c:734 netlink_rcv_skb+0x13f/0x380 net/netlink/af_netlink.c:2477 genl_rcv+0x23/0x40 net/netlink/genetlink.c:745 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x463/0x6b0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x7b0/0xcb0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0xe6/0x110 net/socket.c:659 ____sys_sendmsg+0x603/0x980 net/socket.c:2330 ___sys_sendmsg+0xe4/0x160 net/socket.c:2384 __sys_sendmsg+0xd9/0x180 net/socket.c:2417 __do_sys_sendmsg net/socket.c:2426 [inline] __se_sys_sendmsg net/socket.c:2424 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2424 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f01a7237c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 000000000000000a RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f01a72386d4 R13: 00000000004c62bc R14: 00000000004dab98 R15: 00000000ffffffff BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.1/7489 caller is dst_cache_set_ip4+0x97/0x2e0 net/core/dst_cache.c:98 CPU: 0 PID: 7489 Comm: syz-executor.1 Not tainted 5.5.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x12d/0x187 lib/dump_stack.c:118 check_preemption_disabled lib/smp_processor_id.c:47 [inline] debug_smp_processor_id.cold.1+0x84/0x9e lib/smp_processor_id.c:57 dst_cache_set_ip4+0x97/0x2e0 net/core/dst_cache.c:98 tipc_udp_xmit.isra.15+0x7aa/0xcd0 net/tipc/udp_media.c:182 tipc_udp_send_msg+0x229/0x3d0 net/tipc/udp_media.c:257 tipc_bearer_xmit_skb+0x1a5/0x370 net/tipc/bearer.c:525 tipc_enable_bearer+0x7ef/0xb00 net/tipc/bearer.c:330 __tipc_nl_bearer_enable+0x265/0x390 net/tipc/bearer.c:994 tipc_nl_bearer_enable+0x1d/0x30 net/tipc/bearer.c:1002 genl_family_rcv_msg_doit net/netlink/genetlink.c:672 [inline] genl_family_rcv_msg net/netlink/genetlink.c:717 [inline] genl_rcv_msg+0x5e1/0x10f0 net/netlink/genetlink.c:734 netlink_rcv_skb+0x13f/0x380 net/netlink/af_netlink.c:2477 genl_rcv+0x23/0x40 net/netlink/genetlink.c:745 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x463/0x6b0 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x7b0/0xcb0 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:639 [inline] sock_sendmsg+0xe6/0x110 net/socket.c:659 ____sys_sendmsg+0x603/0x980 net/socket.c:2330 ___sys_sendmsg+0xe4/0x160 net/socket.c:2384 __sys_sendmsg+0xd9/0x180 net/socket.c:2417 __do_sys_sendmsg net/socket.c:2426 [inline] __se_sys_sendmsg net/socket.c:2424 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2424 do_syscall_64+0xd0/0x600 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f01a7237c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 000000000000000a RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f01a72386d4 R13: 00000000004c62bc R14: 00000000004dab98 R15: 00000000ffffffff tipc: Enabled bearer , priority 10