bisecting fixing commit since 2c8a3fceddf0dd87f278e7a5e01350f86f844b1c building syzkaller on 98682e5e2aefc9aad61354f4f3ac93be96002a2a testing commit 2c8a3fceddf0dd87f278e7a5e01350f86f844b1c with gcc (GCC) 8.4.1 20210217 kernel signature: 2aa56419cf2d2bec37aa1701a680185b18e21d8913083d4fa9dc1bbb4c5a50ed all runs: crashed: general protection fault in hsr_netdev_notify testing current HEAD 7d7d1c0ab3eb7c8d8f63a126535018007823b207 testing commit 7d7d1c0ab3eb7c8d8f63a126535018007823b207 with gcc (GCC) 8.4.1 20210217 kernel signature: ba51a8604430d83da0911945b0e214465b36ea05548e7d97aa2e1b7403405bb2 all runs: crashed: general protection fault in hsr_netdev_notify revisions tested: 2, total time: 28m30.958413468s (build: 21m11.042962744s, test: 6m30.681080525s) the crash still happens on HEAD commit msg: Linux 4.14.232 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 Modules linked in: CPU: 1 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net task: ffff8880b5ffe140 task.stack: ffff8880b5450000 RIP: 0010:hsr_netdev_notify+0x29e/0xa20 net/hsr/hsr_main.c:64 RSP: 0018:ffff8880b54575f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff88809bde75c0 RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff88809c3a3ca0 RBP: ffff8880b5457628 R08: 1ffff11016bffd38 R09: 0000000000000000 R10: 00000000000000a0 R11: ffff8880b5ffe140 R12: dffffc0000000000 R13: ffff88808edb4780 R14: 0000000000000010 R15: ffff88809bde75d0 FS: 0000000000000000(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd4ac65d9c CR3: 0000000097833000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0xd6/0x150 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+0x4b/0x60 net/core/dev.c:1667 call_netdevice_notifiers+0x53/0x70 net/core/dev.c:1683 __bond_release_one+0xe34/0x1330 drivers/net/bonding/bond_main.c:1963 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3134 [inline] bond_netdev_event+0x7cd/0x910 drivers/net/bonding/bond_main.c:3232 notifier_call_chain+0xd6/0x150 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+0x4b/0x60 net/core/dev.c:1667 call_netdevice_notifiers net/core/dev.c:1683 [inline] rollback_registered_many+0x698/0xb70 net/core/dev.c:7203 unregister_netdevice_many+0x3e/0x1f0 net/core/dev.c:8285 default_device_exit_batch+0x2dc/0x3b0 net/core/dev.c:8746 ops_exit_list.isra.3+0xd3/0x120 net/core/net_namespace.c:145 cleanup_net+0x39d/0x7f0 net/core/net_namespace.c:484 process_one_work+0x74f/0x1620 kernel/workqueue.c:2116 worker_thread+0xcc/0xee0 kernel/workqueue.c:2250 kthread+0x338/0x400 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 03 42 80 3c 20 00 0f 85 a3 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 99 06 00 00 48 b8 00 00 00 00 00 fc ff df 4c RIP: hsr_netdev_notify+0x29e/0xa20 net/hsr/hsr_main.c:64 RSP: ffff8880b54575f0 ---[ end trace e8df710e353c3e20 ]---