------------[ cut here ]------------ WARNING: CPU: 0 PID: 42 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x1e3/0x250 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 PID: 42 Comm: kworker/u8:2 Not tainted 6.8.0-syzkaller-05202-g9187210eee7d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/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 24 de ff e8 ec 47 b5 f6 90 0f 0b 90 e9 b5 fe ff ff e8 de 47 b5 f6 90 <0f> 0b 90 e9 fc fe ff ff 48 c7 c1 9c e1 86 8f 80 e1 07 80 c1 03 38 RSP: 0018:ffffc90000b37998 EFLAGS: 00010293 RAX: ffffffff8adfa892 RBX: 0000000000000001 RCX: ffff88801aee3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000b37b60 R08: ffffffff8adfa7dc R09: 1ffffffff2598ead R10: dffffc0000000000 R11: fffffbfff2598eae R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888081a68e20 R15: ffff88807b3b4ba0 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2c4502d58 CR3: 000000001f06a000 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:1162 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243