------------[ cut here ]------------ wlan1: Failed check-sdata-in-driver check, flags: 0x0 WARNING: CPU: 2 PID: 15597 at net/mac80211/driver-ops.c:366 drv_unassign_vif_chanctx+0x247/0x850 net/mac80211/driver-ops.c:366 Modules linked in: CPU: 2 UID: 0 PID: 15597 Comm: kworker/u32:22 Not tainted syzkaller #0 PREEMPT(full) 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:drv_unassign_vif_chanctx+0x247/0x850 net/mac80211/driver-ops.c:366 Code: 74 24 10 48 81 c6 20 01 00 00 48 89 74 24 10 e8 ff ae ba f6 8b 54 24 04 48 8b 74 24 10 48 c7 c7 00 8e 08 8d e8 aa 54 79 f6 90 <0f> 0b 90 90 e8 e0 ae ba f6 4c 89 f2 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc90007ebf5f0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888025164d80 RCX: ffffffff817a3358 RDX: ffff888039f60000 RSI: ffffffff817a3365 RDI: 0000000000000001 RBP: ffff888051b98e40 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888025166a28 R13: 0000000000000000 R14: ffff888025165728 R15: ffff8880251669d0 FS: 0000000000000000(0000) GS:ffff8880d68b9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2693a3 CR3: 000000002ab61000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000e58e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ieee80211_assign_link_chanctx+0x3f1/0xf00 net/mac80211/chan.c:916 __ieee80211_link_release_channel+0x273/0x4b0 net/mac80211/chan.c:1890 ieee80211_link_release_channel+0x128/0x200 net/mac80211/chan.c:2165 unregister_netdevice_many_notify+0x1419/0x24c0 net/core/dev.c:12187 unregister_netdevice_many net/core/dev.c:12229 [inline] unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:12073 unregister_netdevice include/linux/netdevice.h:3385 [inline] _cfg80211_unregister_wdev+0x64b/0x830 net/wireless/core.c:1275 ieee80211_remove_interfaces+0x34e/0x740 net/mac80211/iface.c:2391 ieee80211_unregister_hw+0x55/0x3a0 net/mac80211/main.c:1664 mac80211_hwsim_del_radio drivers/net/wireless/virtual/mac80211_hwsim.c:5674 [inline] hwsim_exit_net+0x3ac/0x7d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6554 ops_exit_list net/core/net_namespace.c:198 [inline] ops_undo_list+0x2ee/0xab0 net/core/net_namespace.c:251 cleanup_net+0x408/0x890 net/core/net_namespace.c:682 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245