------------[ cut here ]------------ WARNING: CPU: 0 PID: 186 at net/mac80211/ibss.c:504 ieee80211_ibss_csa_beacon+0x5f9/0x740 net/mac80211/ibss.c:504 Modules linked in: CPU: 0 PID: 186 Comm: kworker/u4:4 Not tainted 5.12.0-rc7-next-20210415-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy8 ieee80211_csa_finalize_work RIP: 0010:ieee80211_ibss_csa_beacon+0x5f9/0x740 net/mac80211/ibss.c:504 Code: f9 48 c7 c2 00 21 87 8a be 92 02 00 00 48 c7 c7 60 21 87 8a c6 05 10 1d 4b 05 01 e8 23 f7 67 00 e9 df fb ff ff e8 b7 dd 0b f9 <0f> 0b 41 bd ea ff ff ff e9 ee fd ff ff e8 45 9a 50 f9 e9 d3 fa ff RSP: 0018:ffffc900012cfc50 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880185dcc00 RCX: 0000000000000000 RDX: ffff888012b28000 RSI: ffffffff88689a89 RDI: 0000000000000000 RBP: 0000000000000002 R08: 0000000000000001 R09: ffffffff8fdeb987 R10: 0000000000000001 R11: 000000000000001b R12: 0000000000000000 R13: ffff8880185dd8f0 R14: ffff88801cb90d00 R15: ffff8880185dd248 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f19a66c8000 CR3: 0000000015aa2000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_set_after_csa_beacon net/mac80211/cfg.c:3124 [inline] __ieee80211_csa_finalize+0x504/0xbf0 net/mac80211/cfg.c:3180 ieee80211_csa_finalize net/mac80211/cfg.c:3203 [inline] ieee80211_csa_finalize_work+0x131/0x170 net/mac80211/cfg.c:3228 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294