------------[ cut here ]------------ WARNING: CPU: 0 PID: 2444 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x1e3/0x250 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 PID: 2444 Comm: kworker/u8:6 Not tainted 6.9.0-next-20240523-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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 a1 ee dd ff e8 ec 0e 9e f6 90 0f 0b 90 e9 b5 fe ff ff e8 de 0e 9e f6 90 <0f> 0b 90 e9 fc fe ff ff 48 c7 c1 ec 85 ad 8f 80 e1 07 80 c1 03 38 RSP: 0018:ffffc90009337998 EFLAGS: 00010293 RAX: ffffffff8af83492 RBX: 0000000000000001 RCX: ffff888029720000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90009337b60 R08: ffffffff8af833dc R09: 1ffffffff25f6cbd R10: dffffc0000000000 R11: fffffbfff25f6cbe R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88807e7e8e20 R15: ffff888078142da0 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33523000 CR3: 000000002217a000 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:1155 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244