------------[ cut here ]------------ WARNING: CPU: 2 PID: 5176 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc net/mac80211/offchannel.c:403 [inline] WARNING: CPU: 2 PID: 5176 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1f8/0x250 net/mac80211/offchannel.c:385 Modules linked in: CPU: 2 PID: 5176 Comm: syz-executor323 Not tainted 6.4.0-syzkaller-12365-g8689f4f2ea56 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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 43 a7 0d 00 5b 5d e9 fc 03 ed f7 e8 f7 03 ed f7 48 89 ef e8 2f 6d ff ff eb 8d e8 e8 03 ed f7 <0f> 0b eb 84 48 c7 c7 90 f0 a9 8e e8 38 3e 3f f8 e9 2f fe ff ff e8 RSP: 0018:ffffc900038ef388 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888032e80d00 RSI: ffffffff8996fc58 RDI: 0000000000000001 RBP: ffff888022cf0e20 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888022cf2968 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000555555edc3c0(0000) GS:ffff88806b800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f415d896d90 CR3: 000000002c073000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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_sendto+0x254/0x350 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2142 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:0x7f415d7ddf06 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:00007fffa652b578 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fffa652b650 RCX: 00007f415d7ddf06 RDX: 0000000000000024 RSI: 00007fffa652b6a0 RDI: 0000000000000007 RBP: 0000000000000001 R08: 00007fffa652b594 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffa652b6a0 R14: 0000000000000007 R15: 0000000000000000