------------[ cut here ]------------ WARNING: CPU: 0 PID: 11 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 UID: 0 PID: 11 Comm: kworker/u32:0 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 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 67 bf dc ff 48 83 c4 10 5b 5d e9 9c ad fe f6 e8 97 ad fe f6 48 89 df e8 0f 60 ff ff e9 40 ff ff ff e8 85 ad fe f6 90 <0f> 0b 90 e9 32 ff ff ff 48 c7 c7 98 8c 5f 90 e8 b0 40 60 f7 e9 db RSP: 0018:ffffc900000e7ad0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88803fb88e40 RCX: ffffffff8a8ecca6 RDX: ffff88801daa2440 RSI: ffffffff8a8ecddb RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff88803fb8a8c0 R14: ffff88803fb88e40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb75e362220 CR3: 0000000054abc000 CR4: 0000000000352ef0 Call Trace: __ieee80211_scan_completed+0x4fe/0xe50 net/mac80211/scan.c:513 ieee80211_scan_work+0x440/0x2080 net/mac80211/scan.c:1162 cfg80211_wiphy_work+0x3d9/0x550 net/wireless/core.c:440 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244