------------[ cut here ]------------ WARNING: CPU: 0 PID: 3588 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1a3/0x210 Modules linked in: CPU: 0 PID: 3588 Comm: syz-executor137 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:ieee80211_start_next_roc+0x1a3/0x210 net/mac80211/offchannel.c:403 Code: b3 a3 77 f7 4c 89 f7 48 89 de 48 89 c2 5b 41 5c 41 5e 41 5f e9 6e 56 0e 00 e8 89 f9 88 f7 0f 0b e9 d6 fe ff ff e8 7d f9 88 f7 <0f> 0b e9 1f ff ff ff 48 c7 c1 24 b0 73 8e 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90003e6f230 EFLAGS: 00010293 RAX: ffffffff8a010483 RBX: 0000000000000001 RCX: ffff888020465940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8a0103ea R09: ffffed100efe2ab5 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888018ad0de0 R14: ffff888018ad0de0 R15: ffff88814019e920 FS: 0000555556e06480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdb0829ff8 CR3: 000000007ac3c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_scan_cancel+0x146/0x630 net/mac80211/scan.c:1308 ieee80211_do_stop+0x15d/0x1d50 net/mac80211/iface.c:461 ieee80211_runtime_change_iftype net/mac80211/iface.c:1905 [inline] ieee80211_if_change_type+0x4b5/0xaa0 net/mac80211/iface.c:1943 ieee80211_change_iface+0x61/0x480 net/mac80211/cfg.c:217 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x819/0x1030 net/wireless/util.c:1084 nl80211_set_interface+0x5fa/0x870 net/wireless/nl80211.c:4169 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline] genl_family_rcv_msg net/netlink/genetlink.c:833 [inline] genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2525 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline] netlink_unicast+0x7bf/0x990 net/netlink/af_netlink.c:1354 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1903 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] __sys_sendto+0x471/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0b2a11e74c Code: 3a 56 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 80 56 02 00 48 8b RSP: 002b:00007ffdb0829ff0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007ffdb082a150 RCX: 00007f0b2a11e74c RDX: 0000000000000024 RSI: 00007ffdb082a1a0 RDI: 0000000000000006 RBP: 0000000000000000 R08: 00007ffdb082a044 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000000 R14: 00007ffdb082a1a0 R15: 0000000000000000