------------[ cut here ]------------ WARNING: CPU: 2 PID: 12 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc net/mac80211/offchannel.c:401 [inline] WARNING: CPU: 2 PID: 12 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:383 Modules linked in: CPU: 2 PID: 12 Comm: kworker/u16:1 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: phy4 ieee80211_scan_work RIP: 0010:ieee80211_start_next_roc net/mac80211/offchannel.c:401 [inline] RIP: 0010:ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:383 Code: 28 23 00 00 48 89 ef 48 89 c2 e8 77 89 0c 00 5b 5d e9 f0 03 b8 f8 e8 eb 03 b8 f8 48 89 ef e8 a3 6c ff ff eb 8d e8 dc 03 b8 f8 <0f> 0b eb 84 48 c7 c7 cc 39 bb 8d e8 ec 1e 04 f9 e9 2f fe ff ff e8 RSP: 0018:ffffc900005ffb50 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880124cc080 RSI: ffffffff88c19754 RDI: 0000000000000001 RBP: ffff888029220de0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888029222870 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f241cc3b070 CR3: 000000001a5e5000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x592/0xee0 net/mac80211/scan.c:502 ieee80211_scan_work+0x3e2/0x1c90 net/mac80211/scan.c:1154 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306