------------[ cut here ]------------ WARNING: CPU: 3 PID: 1169 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Modules linked in: CPU: 3 UID: 0 PID: 1169 Comm: kworker/u32:9 Not tainted 6.16.0-rc6-syzkaller-00121-g6832a9317eee #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Code: 7b 40 e8 97 4a dc ff 48 83 c4 10 5b 5d e9 4c c5 c4 f6 e8 47 c5 c4 f6 48 89 df e8 9f 61 ff ff e9 40 ff ff ff e8 35 c5 c4 f6 90 <0f> 0b 90 e9 32 ff ff ff 48 c7 c7 24 d8 a9 90 e8 60 a6 2a f7 e9 db RSP: 0018:ffffc90006ef7a68 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88806e3c0e40 RCX: ffffffff8af69816 RDX: ffff88802787c880 RSI: ffffffff8af6994b RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88806e3c28c8 R14: ffff88806e3c0e40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888097820000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f504cc80 CR3: 0000000068256000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x4fb/0xe40 net/mac80211/scan.c:528 ieee80211_scan_work+0x3f1/0x2030 net/mac80211/scan.c:1177 cfg80211_wiphy_work+0x3dc/0x550 net/wireless/core.c:435 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245