------------[ cut here ]------------
WARNING: CPU: 1 PID: 10366 at net/mac80211/iface.c:510 ieee80211_do_stop+0x1a36/0x1fb0
Modules linked in:
CPU: 1 UID: 0 PID: 10366 Comm: syz.2.1261 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:ieee80211_do_stop+0x1a36/0x1fb0
Code: 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 27 05 00 00 41 ff 0c 24 e9 49 f5 ff ff e8 a5 a4 d0 f6 e9 3f f5 ff ff e8 9b a4 d0 f6 90 <0f> 0b 90 e9 a3 e9 ff ff e8 8d a4 d0 f6 90 43 0f b6 04 2f 84 c0 0f
RSP: 0018:ffffc9000a2a7620 EFLAGS: 00010293
RAX: ffffffff8aef0795 RBX: 0000000000000001 RCX: ffff888026503980
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000a2a7830 R08: 0000000000000000 R09: ffffffff8ae887f2
R10: 0000096c00000000 R11: ffff88803956b338 R12: ffffc9000a2a7790
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88803950e9d0
FS:  00007fdb25d856c0(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1d1d5f3870 CR3: 000000010fe4a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 ieee80211_stop+0x1b1/0x240
 __dev_close_many+0x364/0x6f0
 netif_close_many+0x225/0x410
 netif_close+0x158/0x210
 dev_close+0x10a/0x220
 cfg80211_shutdown_all_interfaces+0xd4/0x220
 cfg80211_rfkill_set_block+0x2d/0x50
 rfkill_set_block+0x1d2/0x440
 rfkill_fop_write+0x44b/0x570
 vfs_write+0x27e/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdb24f8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdb25d85038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdb251b5fa0 RCX: 00007fdb24f8ebe9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000003
RBP: 00007fdb25011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdb251b6038 R14: 00007fdb251b5fa0 R15: 00007ffd6fb4ea78
 </TASK>
