------------[ cut here ]------------ WARNING: CPU: 0 PID: 90 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc net/mac80211/offchannel.c:401 [inline] WARNING: CPU: 0 PID: 90 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:383 Modules linked in: CPU: 0 PID: 90 Comm: kworker/u4:3 Tainted: G W 5.17.0-syzkaller-02172-g6b1f86f8e9c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy8 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: 18 23 00 00 48 89 ef 48 89 c2 e8 07 81 0c 00 5b 5d e9 50 ba d1 f8 e8 4b ba d1 f8 48 89 ef e8 63 6e ff ff eb 8d e8 3c ba d1 f8 <0f> 0b eb 84 48 c7 c7 ac 4d 94 8d e8 9c e7 1c f9 e9 2f fe ff ff e8 RSP: 0018:ffffc90001a9fb70 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880178dba00 RSI: ffffffff88a6ff94 RDI: 0000000000000003 RBP: ffff88801dbb8e60 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff88a6fead R11: 0000000000000000 R12: 0000000000000001 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88801dbba8e0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f561060a718 CR3: 000000007edc5000 CR4: 0000000000350ee0 Call Trace: __ieee80211_scan_completed+0x592/0xee0 net/mac80211/scan.c:492 ieee80211_scan_work+0x3fe/0x1af0 net/mac80211/scan.c:1134 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295