team0 (unregistering): Port device team_slave_0 removed 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.217-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net task: ffff8880b5ff2140 task.stack: ffff8880b5ff8000 RIP: 0010:hsr_netdev_notify+0x2e1/0x8b0 net/hsr/hsr_main.c:65 RSP: 0018:ffff8880b5fff6f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88809a3a5a80 RCX: 0000000000000001 RDX: 0000000000000002 RSI: 00000000ffffffff RDI: ffff888098f7f420 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000004 R10: 0000000000000000 R11: ffff8880b5ff2140 R12: ffff8880a5f0b310 R13: ffff8880a5f0b300 R14: 0000000000000002 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1b3f2f6710 CR3: 0000000098c2e000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers_info net/core/dev.c:1667 [inline] call_netdevice_notifiers+0x79/0xa0 net/core/dev.c:1683 __bond_release_one+0x1007/0x14c0 drivers/net/bonding/bond_main.c:1963 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3134 [inline] bond_netdev_event+0x9ee/0xbd0 drivers/net/bonding/bond_main.c:3232 notifier_call_chain+0x108/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers_info net/core/dev.c:1667 [inline] call_netdevice_notifiers net/core/dev.c:1683 [inline] rollback_registered_many+0x765/0xba0 net/core/dev.c:7203 unregister_netdevice_many.part.0+0x18/0x2e0 net/core/dev.c:8285 unregister_netdevice_many net/core/dev.c:8284 [inline] default_device_exit_batch+0x2d8/0x380 net/core/dev.c:8746 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:145 cleanup_net+0x3b3/0x840 net/core/net_namespace.c:484 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 03 0f 8e d9 04 00 00 83 7d 20 04 75 b5 e8 28 1c 5d fa 48 8d 45 10 48 89 c2 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 68 05 00 00 48 b8 00 00 00 00 00 fc ff df 4c RIP: hsr_netdev_notify+0x2e1/0x8b0 net/hsr/hsr_main.c:65 RSP: ffff8880b5fff6f0 ---[ end trace dcc156cd9300a8e5 ]---