------------[ cut here ]------------ WARNING: CPU: 1 PID: 1097 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x1e3/0x250 net/mac80211/offchannel.c:404 Modules linked in: CPU: 1 PID: 1097 Comm: kworker/u4:6 Not tainted 6.8.0-rc6-syzkaller-01889-g4b2765ae410a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:ieee80211_start_next_roc+0x1e3/0x250 net/mac80211/offchannel.c:404 Code: f6 48 89 df 4c 89 f6 48 89 c2 5b 41 5c 41 5e 41 5f e9 d1 3a de ff e8 6c 42 b8 f6 90 0f 0b 90 e9 b5 fe ff ff e8 5e 42 b8 f6 90 <0f> 0b 90 e9 fc fe ff ff 48 c7 c1 8c 2e 86 8f 80 e1 07 80 c1 03 38 RSP: 0018:ffffc9000414f9d8 EFLAGS: 00010293 RAX: ffffffff8adb2b12 RBX: 0000000000000001 RCX: ffff888022095940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000414fba0 R08: ffffffff8adb2a5c R09: 1ffffffff2594c91 R10: dffffc0000000000 R11: fffffbfff2594c92 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888024070e20 R15: ffff88802c83eca0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002002a000 CR3: 000000007ccc0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_scan_work+0x1cc/0x1da0 net/mac80211/scan.c:1154 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243