team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device team_slave_0 removed ------------[ cut here ]------------ WARNING: CPU: 2 PID: 1106 at kernel/kthread.c:525 __kthread_bind_mask+0x35/0xc0 kernel/kthread.c:525 Modules linked in: CPU: 2 UID: 0 PID: 1106 Comm: kworker/u32:6 Not tainted 6.11.0-rc7-syzkaller-00017-gbc83b4d1f086 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: netns cleanup_net RIP: 0010:__kthread_bind_mask+0x35/0xc0 kernel/kthread.c:525 Code: 48 89 fb e8 1d 56 33 00 89 ee 48 89 df e8 f3 51 04 00 31 ff 48 89 c5 48 89 c6 e8 76 58 33 00 48 85 ed 75 14 e8 fc 55 33 00 90 <0f> 0b 90 5b 5d 41 5c 41 5d e9 ed 55 33 00 e8 e8 55 33 00 4c 8d ab RSP: 0018:ffffc90005dc7868 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88802a76c880 RCX: ffffffff81587a4a RDX: ffff88802815a440 RSI: ffffffff81587a54 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000000b R12: ffffffff8b4b56a8 R13: 0000000000000001 R14: ffff88804bc08cc0 R15: ffff88804ac894e0 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0c4f1eab10 CR3: 000000000db7c000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kthread_bind kernel/kthread.c:538 [inline] kthread_unpark+0x147/0x1a0 kernel/kthread.c:631 kthread_stop+0x177/0x660 kernel/kthread.c:707 destroy_workqueue+0x154/0xaa0 kernel/workqueue.c:5797 wg_destruct+0x24d/0x3d0 drivers/net/wireguard/device.c:257 netdev_run_todo+0x760/0x12d0 net/core/dev.c:10762 default_device_exit_batch+0x860/0xae0 net/core/dev.c:11898 ops_exit_list+0x128/0x180 net/core/net_namespace.c:178 cleanup_net+0x5b7/0xbb0 net/core/net_namespace.c:640 process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231 process_scheduled_works kernel/workqueue.c:3312 [inline] worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244