bisecting fixing commit since 990f227371a400c0fbcb98b75c91a7dbd65f6132 building syzkaller on 54ce1ed6b9fcb3b8d77c43dd4b3533e70cade414 testing commit 990f227371a400c0fbcb98b75c91a7dbd65f6132 with gcc (GCC) 8.1.0 kernel signature: e7826ab3705c3428c4a306d6952b6fdec966f2195ee04cdb0120458af2b14295 all runs: crashed: WARNING in dev_change_net_namespace testing current HEAD 856deb866d16e29bd65952e0289066f6078af773 testing commit 856deb866d16e29bd65952e0289066f6078af773 with gcc (GCC) 8.1.0 kernel signature: 5ca62b038008af38c285047f0cea3cb319e646c68e8e98876d9e49e5f4fad3c8 all runs: crashed: WARNING in dev_change_net_namespace revisions tested: 2, total time: 16m38.756829883s (build: 9m32.951903071s, test: 6m35.453631591s) the crash still happens on HEAD commit msg: Linux 5.9-rc5 crash: WARNING in dev_change_net_namespace RAX: ffffffffffffffda RBX: 000000000002c0c0 RCX: 000000000045d249 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007fd4a50fcca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000016 R13: 00007ffcd5fdeaff R14: 00007fd4a50fd9c0 R15: 000000000118d08c ------------[ cut here ]------------ WARNING: CPU: 1 PID: 9415 at net/core/dev.c:10562 netdev_adjacent_del_links net/core/dev.c:7970 [inline] WARNING: CPU: 1 PID: 9415 at net/core/dev.c:10562 dev_change_net_namespace+0x458/0x480 net/core/dev.c:10547 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 9415 Comm: syz-executor.1 Not tainted 5.9.0-rc5-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+0xa3/0xcc lib/dump_stack.c:118 panic+0x135/0x31a kernel/panic.c:231 __warn.cold.13+0x20/0x25 kernel/panic.c:600 report_bug+0xc0/0xf0 lib/bug.c:198 handle_bug+0x35/0x90 arch/x86/kernel/traps.c:234 exc_invalid_op+0x13/0x60 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:dev_change_net_namespace+0x458/0x480 net/core/dev.c:10562 Code: 48 c7 c6 07 f5 05 84 48 c7 c7 e0 08 e7 83 c6 05 45 99 d6 01 01 e8 43 ed 94 fe 0f 0b e9 f1 fb ff ff 4c 8b 24 24 e9 e5 fd ff ff <0f> 0b e9 01 ff ff ff 0f 0b e9 12 ff ff ff b8 ea ff ff ff e9 4b ff RSP: 0018:ffffc9000494f598 EFLAGS: 00010282 RAX: 00000000fffffff4 RBX: ffff88810e54c000 RCX: 0000000000000006 RDX: 0000000000000000 RSI: ffffffff83edad73 RDI: 0000000000000282 RBP: ffff88810e54c0a0 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88810ee8e240 R11: 7560a90b5fe5ca3a R12: ffff88810e54c0b8 R13: ffffffff8452f980 R14: ffff88810e54c090 R15: ffffffff8452f980 do_setlink+0xd5/0x10b0 net/core/rtnetlink.c:2611 __rtnl_newlink+0x538/0x8a0 net/core/rtnetlink.c:3374 rtnl_newlink+0x3e/0x60 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x173/0x480 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x41/0x110 net/netlink/af_netlink.c:2470 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x19a/0x270 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x248/0x480 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0x2b/0x40 net/socket.c:671 ____sys_sendmsg+0x1ed/0x230 net/socket.c:2353 ___sys_sendmsg+0x77/0xb0 net/socket.c:2407 __sys_sendmsg+0x52/0xa0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d249 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd4a50fcc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002c0c0 RCX: 000000000045d249 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00007fd4a50fcca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000016 R13: 00007ffcd5fdeaff R14: 00007fd4a50fd9c0 R15: 000000000118d08c Kernel Offset: disabled Rebooting in 86400 seconds..