------------[ cut here ]------------ WARNING: CPU: 1 PID: 5257 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc net/mac80211/offchannel.c:403 [inline] WARNING: CPU: 1 PID: 5257 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1f8/0x250 net/mac80211/offchannel.c:385 Modules linked in: CPU: 1 PID: 5257 Comm: syz-executor178 Not tainted 6.4.0-syzkaller-12365-g8689f4f2ea56 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:ieee80211_start_next_roc net/mac80211/offchannel.c:403 [inline] RIP: 0010:ieee80211_start_next_roc+0x1f8/0x250 net/mac80211/offchannel.c:385 Code: e0 23 00 00 48 89 ef 48 89 c2 e8 33 a7 0d 00 5b 5d e9 5c c2 ec f7 e8 57 c2 ec f7 48 89 ef e8 2f 6d ff ff eb 8d e8 48 c2 ec f7 <0f> 0b eb 84 48 c7 c7 70 a7 aa 8e e8 98 f2 3f f8 e9 2f fe ff ff e8 RSP: 0018:ffffc90003f9f1b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88802b04bb80 RSI: ffffffff89981d28 RDI: 0000000000000001 RBP: ffff888021ca8e20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888021caa968 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555555c58300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f356f869970 CR3: 000000001e900000 CR4: 0000000000350ee0 Call Trace: __ieee80211_scan_completed+0x4f9/0xca0 net/mac80211/scan.c:492 ieee80211_scan_cancel+0x18a/0x9f0 net/mac80211/scan.c:1291 ieee80211_do_stop+0x1860/0x1fa0 net/mac80211/iface.c:461 ieee80211_runtime_change_iftype net/mac80211/iface.c:1876 [inline] ieee80211_if_change_type+0x416/0x8b0 net/mac80211/iface.c:1914 ieee80211_change_iface+0x5b/0x440 net/mac80211/cfg.c:217 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x5c1/0xe00 net/wireless/util.c:1163 nl80211_set_interface+0x695/0x960 net/wireless/nl80211.c:4221 genl_family_rcv_msg_doit.isra.0+0x1e6/0x2d0 net/netlink/genetlink.c:970 genl_family_rcv_msg net/netlink/genetlink.c:1050 [inline] genl_rcv_msg+0x4ff/0x7e0 net/netlink/genetlink.c:1067 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2549 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1078 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0xde/0x190 net/socket.c:748 ____sys_sendmsg+0x739/0x920 net/socket.c:2494 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2548 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2577 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f356f82e079 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe06dacd78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f356f82e079 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000c366 R13: 00007ffe06dacd8c R14: 00007ffe06dacda0 R15: 00007ffe06dacd90