------------[ cut here ]------------ WARNING: CPU: 0 PID: 1338 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x1e3/0x250 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 UID: 0 PID: 1338 Comm: kworker/u8:6 Not tainted 6.12.0-rc4-syzkaller-00784-gab101c553bc1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 b1 89 dd ff e8 9c 60 61 f6 90 0f 0b 90 e9 b5 fe ff ff e8 8e 60 61 f6 90 <0f> 0b 90 e9 fc fe ff ff 48 c7 c1 7c 57 1d 90 80 e1 07 80 c1 03 38 RSP: 0018:ffffc900046bf998 EFLAGS: 00010293 RAX: ffffffff8b337732 RBX: 0000000000000001 RCX: ffff888027fd5a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900046bfb60 R08: ffffffff8b33767c R09: 1ffffffff285a90d R10: dffffc0000000000 R11: fffffbfff285a90e R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff888012410e40 R15: ffff888031e4d3a0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000bc0 CR3: 000000005c01e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_scan_work+0x1cc/0x1d30 net/mac80211/scan.c:1162 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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