bond1 (unregistering): (slave wireguard0): Releasing backup interface device wireguard0 left promiscuous mode bond1 (unregistering): Destroying bond ------------[ cut here ]------------ kernel BUG at net/core/dev.c:8939! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 3 PID: 9925 Comm: kworker/u16:3 Not tainted 5.8.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:rollback_registered_many+0x2be/0xf60 net/core/dev.c:8939 Code: 4c 89 e8 48 c1 e8 03 42 80 3c 20 00 0f 85 91 0c 00 00 48 b8 22 01 00 00 00 00 ad de 48 89 43 70 e9 b9 fe ff ff e8 b2 85 3c fb <0f> 0b 4c 8d 7b 68 4c 8d 6b 70 eb a5 e8 a1 85 3c fb 48 8b 74 24 10 RSP: 0018:ffffc900016c76b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888065cbc000 RCX: ffffffff86378e38 RDX: ffff88806544c280 RSI: ffffffff86378f8e RDI: 0000000000000001 RBP: ffffc900016c7770 R08: 0000000000000000 R09: ffffffff8a7c0bc7 R10: 0000000000000001 R11: 0000000000000183 R12: dffffc0000000000 R13: ffff888065cbc068 R14: ffffc900016c7718 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff88802d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71c3303000 CR3: 00000000674b1000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rollback_registered net/core/dev.c:9013 [inline] unregister_netdevice_queue+0x2dd/0x570 net/core/dev.c:10094 unregister_netdevice include/linux/netdevice.h:2754 [inline] bond_release_and_destroy drivers/net/bonding/bond_main.c:2091 [inline] bond_slave_netdev_event drivers/net/bonding/bond_main.c:3164 [inline] bond_netdev_event.cold+0xc1/0x10e drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] rollback_registered_many+0x665/0xf60 net/core/dev.c:8968 unregister_netdevice_many.part.0+0x1a/0x2f0 net/core/dev.c:10113 unregister_netdevice_many net/core/dev.c:10112 [inline] default_device_exit_batch+0x30c/0x3d0 net/core/dev.c:10596 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:189 cleanup_net+0x4ea/0xa00 net/core/net_namespace.c:603 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293 Modules linked in: ---[ end trace 006e69b3802fdb62 ]--- RIP: 0010:rollback_registered_many+0x2be/0xf60 net/core/dev.c:8939 Code: 4c 89 e8 48 c1 e8 03 42 80 3c 20 00 0f 85 91 0c 00 00 48 b8 22 01 00 00 00 00 ad de 48 89 43 70 e9 b9 fe ff ff e8 b2 85 3c fb <0f> 0b 4c 8d 7b 68 4c 8d 6b 70 eb a5 e8 a1 85 3c fb 48 8b 74 24 10 RSP: 0018:ffffc900016c76b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888065cbc000 RCX: ffffffff86378e38 RDX: ffff88806544c280 RSI: ffffffff86378f8e RDI: 0000000000000001 RBP: ffffc900016c7770 R08: 0000000000000000 R09: ffffffff8a7c0bc7 R10: 0000000000000001 R11: 0000000000000183 R12: dffffc0000000000 R13: ffff888065cbc068 R14: ffffc900016c7718 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff88802d100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71c3303000 CR3: 00000000674b1000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400