------------[ cut here ]------------ WARNING: CPU: 1 PID: 3757 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc net/mac80211/offchannel.c:401 [inline] WARNING: CPU: 1 PID: 3757 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:383 Modules linked in: CPU: 0 PID: 3757 Comm: syz-executor229 Not tainted 5.18.0-rc3-next-20220419-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 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 47 87 0c 00 5b 5d e9 90 65 ca f8 e8 8b 65 ca f8 48 89 ef e8 63 6e ff ff eb 8d e8 7c 65 ca f8 <0f> 0b eb 84 48 c7 c7 4c 19 b8 8d e8 bc f7 16 f9 e9 2f fe ff ff e8 RSP: 0018:ffffc90003a0f428 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807d5c3a80 RSI: ffffffff88af8d74 RDI: 0000000000000003 RBP: ffff888148f10e60 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff88af8c8d R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888148f128e0 FS: 000055555708b300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40156d8d70 CR3: 000000001f692000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x592/0xee0 net/mac80211/scan.c:492 ieee80211_scan_cancel+0x165/0x9b0 net/mac80211/scan.c:1281 ieee80211_do_stop+0x1861/0x1fe0 net/mac80211/iface.c:384 ieee80211_runtime_change_iftype net/mac80211/iface.c:1787 [inline] ieee80211_if_change_type+0x383/0x840 net/mac80211/iface.c:1825 ieee80211_change_iface+0x57/0x3d0 net/mac80211/cfg.c:190 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline] cfg80211_change_iface+0x5e1/0xf10 net/wireless/util.c:1078 nl80211_set_interface+0x64f/0x8c0 net/wireless/nl80211.c:4031 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:731 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:792 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2495 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 __sys_sendto+0x216/0x310 net/socket.c:2072 __do_sys_sendto net/socket.c:2084 [inline] __se_sys_sendto net/socket.c:2080 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2080 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f401561fef6 Code: 48 c7 c0 ff ff ff ff eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 72 c3 90 55 48 83 ec 30 44 89 4c 24 2c 4c 89 RSP: 002b:00007fff04a7faf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fff04a7fbd0 RCX: 00007f401561fef6 RDX: 0000000000000024 RSI: 00007fff04a7fc20 RDI: 0000000000000005 RBP: 0000000000000001 R08: 00007fff04a7fb14 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff04a7fc20 R14: 0000000000000005 R15: 0000000000000000