------------[ cut here ]------------ WARNING: CPU: 1 PID: 25 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Modules linked in: CPU: 0 PID: 25 Comm: kworker/u4:1 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy4 ieee80211_scan_work RIP: 0010:ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Code: 18 22 00 00 48 89 ef 48 89 c2 e8 27 a5 0b 00 5b 5d e9 a0 d7 1c f9 e8 9b d7 1c f9 48 89 ef e8 c3 73 ff ff eb 8d e8 8c d7 1c f9 <0f> 0b eb 84 48 c7 c7 4c 71 c5 8d e8 4c db 60 f9 e9 2f fe ff ff e8 RSP: 0018:ffffc90000dffb80 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801121d340 RSI: ffffffff8856c864 RDI: 0000000000000003 RBP: ffff8880154e8d00 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8856c77d R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880154ea680 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000000bc8e000 CR4: 0000000000350ef0 Call Trace: __ieee80211_scan_completed+0x602/0xed0 net/mac80211/scan.c:477 ieee80211_scan_work+0x3dd/0x1a90 net/mac80211/scan.c:1119 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