team0 (unregistering): Port device team_slave_0 removed bond0 (unregistering): Releasing backup interface bond_slave_1 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: 0 PID: 30097 Comm: kworker/u4:1 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net task: ffff888055c68280 task.stack: ffff8880972a0000 RIP: 0010:hsr_netdev_notify+0x456/0x8c0 net/hsr/hsr_main.c:64 RSP: 0018:ffff8880972a7788 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffffff10279bc RDX: 0000000000000002 RSI: ffffffff886e4420 RDI: ffff88808e639a20 RBP: ffff88805c348480 R08: 0000000000000001 R09: 0000000000000004 R10: ffff888055c68ba0 R11: ffff888055c68280 R12: ffff8880a04dd7d0 R13: ffff8880a04dd7c0 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a7fe0cdb8 CR3: 000000009871c000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers+0x5e/0x70 net/core/dev.c:1687 __bond_release_one+0xf02/0x1390 drivers/net/bonding/bond_main.c:1937 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3093 [inline] bond_netdev_event+0x784/0x8c0 drivers/net/bonding/bond_main.c:3191 notifier_call_chain+0x107/0x1a0 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1687 [inline] rollback_registered_many+0x694/0xa70 net/core/dev.c:7205 unregister_netdevice_many.part.0+0x16/0x1d0 net/core/dev.c:8278 unregister_netdevice_many net/core/dev.c:8277 [inline] default_device_exit_batch+0x2dd/0x380 net/core/dev.c:8739 ops_exit_list.isra.0+0xef/0x140 net/core/net_namespace.c:145 cleanup_net+0x3bb/0x820 net/core/net_namespace.c:484 process_one_work+0x813/0x1540 kernel/workqueue.c:2114 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2248 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 03 0f 8e 5d 03 00 00 83 7b 20 04 75 b6 e8 c3 90 22 fb 48 8d 43 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 16 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c RIP: hsr_netdev_notify+0x456/0x8c0 net/hsr/hsr_main.c:64 RSP: ffff8880972a7788 ---[ end trace a362f320af60cc5c ]---