bisecting fixing commit since 811218eceeaa7618652e1b8d11caeff67ab42072 building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit 811218eceeaa7618652e1b8d11caeff67ab42072 with gcc (GCC) 8.4.1 20210217 kernel signature: 144473d1c29ae95eadace4068652e33d9969c04b5722a79a22652d7e01eac9e5 all runs: crashed: general protection fault in hsr_netdev_notify testing current HEAD 030194a5b292bb7613407668d85af0b987bb9839 testing commit 030194a5b292bb7613407668d85af0b987bb9839 with gcc (GCC) 8.4.1 20210217 kernel signature: eae5f3babeb994e770ec9c0371545b5414db7794fed15953dfb3e94ab73166b0 all runs: crashed: general protection fault in hsr_netdev_notify revisions tested: 2, total time: 21m48.718657176s (build: 14m58.562619574s, test: 6m29.9529683s) the crash still happens on HEAD commit msg: Linux 4.19.180 crash: general protection fault in hsr_netdev_notify bond0 (unregistering): Releasing backup interface bond_slave_1 device bond_slave_1 left promiscuous mode bond0 (unregistering): Releasing backup interface bond_slave_0 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: 0 PID: 9857 Comm: kworker/u4:7 Not tainted 4.19.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:hsr_netdev_notify+0x2db/0xa40 net/hsr/hsr_main.c:64 Code: 42 80 3c 20 00 0f 85 83 05 00 00 48 8b 1b 4c 39 fb 75 c4 31 db 4c 8d 73 10 48 b8 00 00 00 00 00 fc ff df 4c 89 f6 48 c1 ee 03 <80> 3c 06 00 0f 85 e5 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b RSP: 0018:ffff888097f375b0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809faef340 RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff888099f5ee20 RBP: ffff888097f375e8 R08: 1ffff110130f2d30 R09: fffffbfff14f2498 R10: fffffbfff14f2498 R11: ffffffff8a7924c7 R12: dffffc0000000000 R13: ffff8880a88281c0 R14: 0000000000000010 R15: ffff88809faef350 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562a5f73e2e8 CR3: 00000000a1df8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0x8a/0x160 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x28/0x60 net/core/dev.c:1744 call_netdevice_notifiers+0x67/0x90 net/core/dev.c:1762 __bond_release_one+0xead/0x1410 drivers/net/bonding/bond_main.c:1982 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3154 [inline] bond_netdev_event+0x844/0x9b0 drivers/net/bonding/bond_main.c:3266 notifier_call_chain+0x8a/0x160 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:401 call_netdevice_notifiers_info+0x28/0x60 net/core/dev.c:1744 call_netdevice_notifiers net/core/dev.c:1762 [inline] rollback_registered_many+0x5ca/0xbe0 net/core/dev.c:8188 unregister_netdevice_many+0x3e/0x1f0 net/core/dev.c:9316 default_device_exit_batch+0x2e4/0x3d0 net/core/dev.c:9787 ops_exit_list.isra.0+0xd3/0x120 net/core/net_namespace.c:156 cleanup_net+0x368/0x850 net/core/net_namespace.c:553 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2152 worker_thread+0x85/0xb60 kernel/workqueue.c:2295 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 62b1edb887c96548 ]--- RIP: 0010:hsr_netdev_notify+0x2db/0xa40 net/hsr/hsr_main.c:64 Code: 42 80 3c 20 00 0f 85 83 05 00 00 48 8b 1b 4c 39 fb 75 c4 31 db 4c 8d 73 10 48 b8 00 00 00 00 00 fc ff df 4c 89 f6 48 c1 ee 03 <80> 3c 06 00 0f 85 e5 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b RSP: 0018:ffff888097f375b0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809faef340 RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff888099f5ee20 RBP: ffff888097f375e8 R08: 1ffff110130f2d30 R09: fffffbfff14f2498 R10: fffffbfff14f2498 R11: ffffffff8a7924c7 R12: dffffc0000000000 R13: ffff8880a88281c0 R14: 0000000000000010 R15: ffff88809faef350 FS: 0000000000000000(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562a5f73e2e8 CR3: 00000000a1df8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400