WARNING: net/mac80211/driver-ops.c:366 at drv_unassign_vif_chanctx+0x50b/0x7e0 net/mac80211/driver-ops.c:366, CPU#0: kworker/u8:12/7439 Modules linked in: CPU: 0 UID: 0 PID: 7439 Comm: kworker/u8:12 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: netns cleanup_net RIP: 0010:drv_unassign_vif_chanctx+0x50b/0x7e0 net/mac80211/driver-ops.c:366 Code: 8d 8d b8 09 00 00 48 85 c0 48 0f 44 f1 43 0f b6 04 3e 84 c0 0f 85 6b 02 00 00 8b 55 00 48 c7 c7 40 66 d0 8c e8 76 68 91 f6 90 <0f> 0b 90 90 e9 ee fc ff ff e8 57 fa cd f6 90 0f 0b 90 42 80 7c 3d RSP: 0018:ffffc9000e28f220 EFLAGS: 00010246 RAX: 45ef375c1cf55700 RBX: 0000000000000000 RCX: ffff88805c979e40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002 RBP: ffff8880598b1728 R08: ffff8880b8624293 R09: 1ffff110170c4852 R10: dffffc0000000000 R11: ffffed10170c4853 R12: ffff8880598b29d8 R13: ffff8880598b0d80 R14: 1ffff1100b3162e5 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881259e1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33112ff8 CR3: 0000000057b9c000 CR4: 00000000003526f0 Call Trace: ieee80211_assign_link_chanctx+0x1ec/0xd70 net/mac80211/chan.c:905 __ieee80211_link_release_channel+0x33b/0x4a0 net/mac80211/chan.c:1879 unregister_netdevice_many_notify+0x1953/0x1ff0 net/core/dev.c:12236 unregister_netdevice_many net/core/dev.c:12278 [inline] unregister_netdevice_queue+0x33c/0x380 net/core/dev.c:12122 unregister_netdevice include/linux/netdevice.h:3385 [inline] _cfg80211_unregister_wdev+0x165/0x590 net/wireless/core.c:1284 ieee80211_remove_interfaces+0x49a/0x6e0 net/mac80211/iface.c:2391 ieee80211_unregister_hw+0x5d/0x2c0 net/mac80211/main.c:1674 mac80211_hwsim_del_radio+0x275/0x460 drivers/net/wireless/virtual/mac80211_hwsim.c:5674 hwsim_exit_net+0xef4/0xfb0 drivers/net/wireless/virtual/mac80211_hwsim.c:6554 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x49a/0x990 net/core/net_namespace.c:252 cleanup_net+0x4d8/0x810 net/core/net_namespace.c:701 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245