mac80211_hwsim hwsim7 syzkaller0: entered promiscuous mode
mac80211_hwsim hwsim7 syzkaller0: entered allmulticast mode
------------[ cut here ]------------
WARNING: CPU: 0 PID: 20540 at net/mac80211/chan.c:844 ieee80211_recalc_chanctx_chantype+0x89d/0x10f0
Modules linked in:
CPU: 0 UID: 0 PID: 20540 Comm: syz.1.3862 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_recalc_chanctx_chantype+0x89d/0x10f0
Code: c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 1b 14 25 f7 4d 8b 36 4d 39 fe 74 22 e8 6e a1 c1 f6 e9 ef f8 ff ff e8 64 a1 c1 f6 90 <0f> 0b 90 e9 47 07 00 00 e8 56 a1 c1 f6 e9 39 07 00 00 48 83 7c 24
RSP: 0018:ffffc90006067220 EFLAGS: 00010287
RAX: ffffffff8afe25e2 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc900040c2000 RSI: 00000000000004ae RDI: 00000000000004af
RBP: ffffc900060673e0 R08: ffff88803e369737 R09: 1ffff11007c6d2e6
R10: dffffc0000000000 R11: ffffed1007c6d2e7 R12: dffffc0000000000
R13: 0000000000000070 R14: ffff88812665a8c0 R15: ffff88812665a8c0
FS:  00007f25eb8676c0(0000) GS:ffff8880b8615000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000ffffffff CR3: 00000001229a8000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 ieee80211_assign_link_chanctx+0x5ca/0xd70
 __ieee80211_link_release_channel+0x33b/0x4a0
 ieee80211_leave_mesh+0xc5/0x130
 cfg80211_leave_mesh+0x293/0x800
 cfg80211_netdev_notifier_call+0x1b3/0x1450
 notifier_call_chain+0x1b6/0x3e0
 __dev_close_many+0x106/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:0x7f25ea98eba9
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:00007f25eb867038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f25eabd5fa0 RCX: 00007f25ea98eba9
RDX: 0000000000000008 RSI: 0000200000000280 RDI: 0000000000000007
RBP: 00007f25eaa11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f25eabd6038 R14: 00007f25eabd5fa0 R15: 00007ffc29046ae8
 </TASK>
