------------[ cut here ]------------ WARNING: CPU: 1 PID: 618 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x71/0xc0 net/mac80211/offchannel.c:405 Modules linked in: CPU: 1 PID: 618 Comm: kworker/u4:4 Not tainted 5.11.0-rc2-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+0x71/0xc0 net/mac80211/offchannel.c:401 Code: 40 80 fd 01 0f 87 fa a1 49 00 83 e5 01 75 1b 48 8b 83 d0 02 00 00 48 83 b8 b8 01 00 00 00 74 28 48 89 df 5b 5d e9 5f f9 ff ff <0f> 0b 5b 5d c3 48 8d bf e0 1a 00 00 be ff ff ff ff e8 89 48 4c 00 RSP: 0018:ffffc900012e3dc8 EFLAGS: 00010202 RAX: ffff88811f1887e0 RBX: ffff88811f148c80 RCX: 00000000ffffffff RDX: ffff88811f1887e0 RSI: ffffffff848fb7f4 RDI: ffffffff84a03dc6 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000005 R12: ffff88811f14a6f8 R13: 0000000000000000 R14: ffff88811f14a880 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbba6031db8 CR3: 0000000107438000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_scan_work+0x16d/0x8d0 net/mac80211/scan.c:1119 process_one_work+0x293/0x610 kernel/workqueue.c:2275 worker_thread+0x38/0x380 kernel/workqueue.c:2421 kthread+0x144/0x170 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296