bisecting fixing commit since 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c building syzkaller on 424dd8e7b52828cad44ce653a5d4ac30670f5e2c testing commit 2cc3c4b3c2e9c99e90aaf19cd801ff2c160f283c with gcc (GCC) 8.1.0 kernel signature: 9a1f494b95ccdd93265660918e49d83047bdfec444761f3261570ad1c885e189 all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in netif_napi_del testing current HEAD 8653b778e454a7708847aeafe689bce07aeeb94e testing commit 8653b778e454a7708847aeafe689bce07aeeb94e with gcc (GCC) 8.1.0 kernel signature: a07c87aeb962d8ada6158ca48a978d2bc56177d4678bc3c0ad226ad9a4ed50be all runs: crashed: BUG: unable to handle kernel NULL pointer dereference in free_netdev revisions tested: 2, total time: 18m5.791983256s (build: 11m2.141786601s, test: 6m28.762365792s) the crash still happens on HEAD commit msg: Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux crash: BUG: unable to handle kernel NULL pointer dereference in free_netdev BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 116a13067 P4D 116a13067 PUD 11695e067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 7578 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:free_netdev+0xae/0x140 net/core/dev.c:10642 Code: ef e8 46 dc 00 00 48 8b 45 58 48 8b 08 48 8d b8 a0 fe ff ff 49 39 c4 48 8d 99 a0 fe ff ff 74 27 e8 57 fe ff ff e8 c2 c8 ff ff <48> 8b 93 60 01 00 00 48 8d 83 60 01 00 00 48 89 df 4c 39 e0 48 8d RSP: 0018:ffffc90001f57a98 EFLAGS: 00010296 RAX: 0000000000000000 RBX: fffffffffffffea0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff83f405ab RDI: 0000000000000282 RBP: ffff888116b1c000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888116b1c058 R13: 0000000000000000 R14: ffffc90001f57ab8 R15: ffffc90001f57bb0 FS: 00007ff78149e700(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000116ada000 CR4: 0000000000350ee0 Call Trace: netdev_run_todo+0x2e1/0x330 net/core/dev.c:10341 rtnl_unlock net/core/rtnetlink.c:112 [inline] rtnetlink_rcv_msg+0x17b/0x480 net/core/rtnetlink.c:5565 netlink_rcv_skb+0x49/0xf0 net/netlink/af_netlink.c:2494 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:652 [inline] sock_sendmsg+0x2b/0x40 net/socket.c:672 ____sys_sendmsg+0x1ed/0x230 net/socket.c:2345 ___sys_sendmsg+0x77/0xb0 net/socket.c:2399 __sys_sendmsg+0x52/0xa0 net/socket.c:2432 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d239 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:00007ff78149dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002c0c0 RCX: 000000000045d239 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 000000000118d0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007ffcdecaf1bf R14: 00007ff78149e9c0 R15: 000000000118d08c Modules linked in: CR2: 0000000000000000 ---[ end trace ef0d170d2626113d ]--- RIP: 0010:free_netdev+0xae/0x140 net/core/dev.c:10642 Code: ef e8 46 dc 00 00 48 8b 45 58 48 8b 08 48 8d b8 a0 fe ff ff 49 39 c4 48 8d 99 a0 fe ff ff 74 27 e8 57 fe ff ff e8 c2 c8 ff ff <48> 8b 93 60 01 00 00 48 8d 83 60 01 00 00 48 89 df 4c 39 e0 48 8d RSP: 0018:ffffc90001f57a98 EFLAGS: 00010296 RAX: 0000000000000000 RBX: fffffffffffffea0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff83f405ab RDI: 0000000000000282 RBP: ffff888116b1c000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888116b1c058 R13: 0000000000000000 R14: ffffc90001f57ab8 R15: ffffc90001f57bb0 FS: 00007ff78149e700(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000116ada000 CR4: 0000000000350ee0