------------[ cut here ]------------ WARNING: CPU: 2 PID: 1174 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:401 Modules linked in: CPU: 2 PID: 1174 Comm: kworker/u16:9 Not tainted 6.7.0-syzkaller-g38814330fedd #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:401 Code: 7b 40 e8 d7 67 de ff 48 83 c4 10 5b 5d e9 2c 5b 8a f7 e8 27 5b 8a f7 48 89 df e8 ff 62 ff ff e9 40 ff ff ff e8 15 5b 8a f7 90 <0f> 0b 90 e9 32 ff ff ff 48 c7 c7 98 ff 39 8f e8 f0 62 e1 f7 e9 db RSP: 0018:ffffc90006357af8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888035280e20 RCX: ffffffff89fca036 RDX: ffff888022268000 RSI: ffffffff89fca16b RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888035282878 R14: ffff888035280e20 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88806b800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 000000002aae6000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x500/0xe10 net/mac80211/scan.c:496 ieee80211_scan_work+0x440/0x2040 net/mac80211/scan.c:1140 cfg80211_wiphy_work+0x24e/0x330 net/wireless/core.c:437 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242