------------[ cut here ]------------ WARNING: CPU: 1 PID: 482 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x13d/0x1d0 net/mac80211/offchannel.c:405 Modules linked in: CPU: 1 PID: 482 Comm: kworker/u4:7 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy6 ieee80211_scan_work RIP: 0010:ieee80211_start_next_roc+0x13d/0x1d0 net/mac80211/offchannel.c:401 Code: bb b8 01 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 9d 00 00 00 48 83 bb b8 01 00 00 00 74 2f 5b 48 89 ef 5d e9 53 ee ff ff <0f> 0b 5b 5d c3 48 8d bd 28 1b 00 00 be ff ff ff ff e8 dd 09 9d 00 RSP: 0018:ffffc9000296fbe0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ffff88801f8b5980 RCX: 0000000000000001 RDX: 1ffff11003f16b34 RSI: ffffffff888ae600 RDI: ffff88801f8b59a0 RBP: ffff88801bf50d00 R08: 0000000000000001 R09: ffffffff8e19f93f R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801bf52850 R13: ffff88801bf529f0 R14: ffff88801bf527c0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000543038 CR3: 0000000027fc2000 CR4: 0000000000350ee0 Call Trace: ieee80211_scan_work+0x316/0x16c0 net/mac80211/scan.c:1119 process_one_work+0x84c/0x13b0 kernel/workqueue.c:2275 worker_thread+0x598/0xf80 kernel/workqueue.c:2421 kthread+0x36f/0x450 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294