bond1 (unregistering): (slave wireguard2): Releasing backup interface bond1 (unregistering): (slave wireguard1): Releasing backup interface 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:8799! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7 Comm: kworker/u4:0 Not tainted 5.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:rollback_registered_many+0x267/0xd10 net/core/dev.c:8799 Code: ad de 48 89 42 68 4c 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 51 09 00 00 48 b8 22 01 00 00 00 00 ad de 48 89 42 70 e9 e8 fe ff ff <0f> 0b 49 8b 04 24 48 8d 58 98 49 39 c4 0f 84 9c 00 00 00 4d 8b b5 RSP: 0018:ffffc90000cdf750 EFLAGS: 00010202 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 1ffff1101388000d RDX: ffff88809c400000 RSI: 0000000000000008 RDI: ffff88809c400581 RBP: ffffc90000cdf7b0 R08: 0000000000000001 R09: fffffbfff1320c65 R10: ffffffff89906327 R11: fffffbfff1320c64 R12: ffffc90000cdf8e8 R13: ffffc90000cdf890 R14: ffffc90000cdf880 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa609dc3000 CR3: 000000009253e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rollback_registered+0xcc/0x180 net/core/dev.c:8873 unregister_netdevice_queue+0x17e/0x230 net/core/dev.c:9969 unregister_netdevice include/linux/netdevice.h:2725 [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.92+0xbb/0x110 drivers/net/bonding/bond_main.c:3277 notifier_call_chain+0x86/0x150 kernel/notifier.c:83 call_netdevice_notifiers_extack net/core/dev.c:1960 [inline] call_netdevice_notifiers net/core/dev.c:1974 [inline] rollback_registered_many+0x623/0xd10 net/core/dev.c:8828 unregister_netdevice_many+0x39/0x1f0 net/core/dev.c:9988 default_device_exit_batch+0x2d3/0x3b0 net/core/dev.c:10471 cleanup_net+0x45f/0x910 net/core/net_namespace.c:603 process_one_work+0x908/0x15d0 kernel/workqueue.c:2268 worker_thread+0x82/0xb50 kernel/workqueue.c:2414 kthread+0x340/0x410 kernel/kthread.c:268 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace b31211f32cd66683 ]--- RIP: 0010:rollback_registered_many+0x267/0xd10 net/core/dev.c:8799 Code: ad de 48 89 42 68 4c 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 51 09 00 00 48 b8 22 01 00 00 00 00 ad de 48 89 42 70 e9 e8 fe ff ff <0f> 0b 49 8b 04 24 48 8d 58 98 49 39 c4 0f 84 9c 00 00 00 4d 8b b5 RSP: 0018:ffffc90000cdf750 EFLAGS: 00010202 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 1ffff1101388000d RDX: ffff88809c400000 RSI: 0000000000000008 RDI: ffff88809c400581 RBP: ffffc90000cdf7b0 R08: 0000000000000001 R09: fffffbfff1320c65 R10: ffffffff89906327 R11: fffffbfff1320c64 R12: ffffc90000cdf8e8 R13: ffffc90000cdf890 R14: ffffc90000cdf880 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa609dc8000 CR3: 000000009253e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400