------------[ cut here ]------------ WARNING: CPU: 0 PID: 4960 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc net/mac80211/offchannel.c:401 [inline] WARNING: CPU: 0 PID: 4960 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:383 Modules linked in: CPU: 1 PID: 4960 Comm: syz-executor.5 Not tainted 5.17.0-rc5-syzkaller-00197-g7cf5aa32e392 #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 97 54 0c 00 5b 5d e9 30 e6 dd f8 e8 2b e6 dd f8 48 89 ef e8 23 78 ff ff eb 8d e8 1c e6 dd f8 <0f> 0b eb 84 48 c7 c7 6c 55 94 8d e8 bc 7a 25 f9 e9 2f fe ff ff e8 RSP: 0018:ffffc90003def250 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88804c0a3a00 RSI: ffffffff889b05a4 RDI: 0000000000000003 RBP: ffff8880777b8e60 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff889b04bd R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880777ba8e0 FS: 00007f3cf8709700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c8f524090 CR3: 000000007666e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x592/0xc60 net/mac80211/scan.c:492 ieee80211_scan_cancel+0x165/0x740 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:1076 nl80211_set_interface+0x64c/0x8c0 net/wireless/nl80211.c:3984 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:2494 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x539/0x7e0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 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:0x7f3cf9d94049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3cf8709168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f3cf9ea6f60 RCX: 00007f3cf9d94049 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003 RBP: 00007f3cf9dee08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdf325caef R14: 00007f3cf8709300 R15: 0000000000022000