------------[ cut here ]------------ WARNING: CPU: 0 PID: 345 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Modules linked in: CPU: 0 PID: 345 Comm: syz-executor.1 Not tainted 5.17.0-rc1-syzkaller-00495-gff58831fa02d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Code: 18 23 00 00 48 89 ef 48 89 c2 e8 97 49 0c 00 5b 5d e9 f0 45 e0 f8 e8 eb 45 e0 f8 48 89 ef e8 b3 75 ff ff eb 8d e8 dc 45 e0 f8 <0f> 0b eb 84 48 c7 c7 6c 00 94 8d e8 7c b6 27 f9 e9 2f fe ff ff e8 RSP: 0018:ffffc90005157250 EFLAGS: 00010212 RAX: 0000000000000f55 RBX: 0000000000000001 RCX: ffffc90002f72000 RDX: 0000000000040000 RSI: ffffffff88981774 RDI: 0000000000000003 RBP: ffff88804bb08e60 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff8898168d R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88804bb0a8e0 FS: 00007f82371ba700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2004aaf000 CR3: 0000000074c3e000 CR4: 00000000003506f0 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: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:0x7f8238845059 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:00007f82371ba168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f8238957f60 RCX: 00007f8238845059 RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000004 RBP: 00007f823889f08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc11d395af R14: 00007f82371ba300 R15: 0000000000022000