------------[ cut here ]------------ WARNING: CPU: 0 PID: 117 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Modules linked in: CPU: 1 PID: 117 Comm: kworker/u4:3 Not tainted 5.12.0-rc7-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 77 a7 0b 00 5b 5d e9 b0 e9 19 f9 e8 ab e9 19 f9 48 89 ef e8 c3 73 ff ff eb 8d e8 9c e9 19 f9 <0f> 0b eb 84 48 c7 c7 0c 24 c5 8d e8 3c 18 5d f9 e9 2f fe ff ff e8 RSP: 0018:ffffc900012e7b80 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888011e44000 RSI: ffffffff88593c34 RDI: 0000000000000003 RBP: ffff888039a00d00 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff88593b4d R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888039a02680 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a41930028 CR3: 000000001420a000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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