------------[ cut here ]------------ WARNING: CPU: 1 PID: 4284 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1a3/0x210 Modules linked in: CPU: 1 PID: 4284 Comm: syz-executor359 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:ieee80211_start_next_roc+0x1a3/0x210 net/mac80211/offchannel.c:401 Code: 73 f5 c6 f7 4c 89 f7 48 89 de 48 89 c2 5b 41 5c 41 5e 41 5f e9 be 30 0d 00 e8 c9 75 d8 f7 0f 0b e9 d6 fe ff ff e8 bd 75 d8 f7 <0f> 0b e9 1f ff ff ff 48 c7 c1 04 f8 e3 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc90003a3f268 EFLAGS: 00010293 RAX: ffffffff89a78393 RBX: 0000000000000001 RCX: ffff888018d19dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff89a782fa R09: ffffed1003af7a54 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88801dd40da0 R14: ffff88801dd40da0 R15: ffff888015f95020 FS: 0000555556b92300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff970016d70 CR3: 00000000198d5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_scan_cancel+0x146/0x5a0 net/mac80211/scan.c:1304 ieee80211_do_stop+0x15b/0x1ce0 net/mac80211/iface.c:384 ieee80211_runtime_change_iftype net/mac80211/iface.c:1701 [inline] ieee80211_if_change_type+0x447/0x9f0 net/mac80211/iface.c:1739 ieee80211_change_iface+0x57/0x430 net/mac80211/cfg.c:160 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline] cfg80211_change_iface+0x789/0xf20 net/wireless/util.c:1074 nl80211_set_interface+0x5f8/0x890 net/wireless/nl80211.c:3945 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xfbd/0x14a0 net/netlink/genetlink.c:792 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2504 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1923 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x564/0x720 net/socket.c:2039 __do_sys_sendto net/socket.c:2051 [inline] __se_sys_sendto net/socket.c:2047 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2047 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+0x61/0xcb RIP: 0033:0x7ff96ff5df66 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:00007ffc1aafb9d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007ffc1aafbab0 RCX: 00007ff96ff5df66 RDX: 0000000000000024 RSI: 00007ffc1aafbb00 RDI: 0000000000000006 RBP: 0000000000000001 R08: 00007ffc1aafb9f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1aafbb00 R14: 0000000000000006 R15: 0000000000000000