------------[ cut here ]------------ WARNING: CPU: 0 PID: 16964 at net/mac80211/offchannel.c:404 ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Modules linked in: CPU: 0 UID: 0 PID: 16964 Comm: syz.2.14413 Not tainted 6.12.0-rc4-syzkaller-00289-gea1fda89f5b2 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ieee80211_start_next_roc+0x24c/0x2c0 net/mac80211/offchannel.c:404 Code: 7b 40 e8 07 c0 dc ff 48 83 c4 10 5b 5d e9 bc 25 ff f6 e8 b7 25 ff f6 48 89 df e8 0f 60 ff ff e9 40 ff ff ff e8 a5 25 ff f6 90 <0f> 0b 90 e9 32 ff ff ff 48 c7 c7 98 83 5f 90 e8 70 a7 60 f7 e9 db RSP: 0018:ffffc9000681f100 EFLAGS: 00010283 RAX: 0000000000000968 RBX: ffff888023fc8e40 RCX: ffffc90007081000 RDX: 0000000000040000 RSI: ffffffff8a8e569b RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000041 R13: ffff888023fca8c0 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fa314d7b6c0(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c269c6a CR3: 000000002933a000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x4fe/0xe50 net/mac80211/scan.c:513 ieee80211_scan_cancel+0x1cf/0x990 net/mac80211/scan.c:1294 ieee80211_do_stop+0x1b46/0x2520 net/mac80211/iface.c:481 ieee80211_runtime_change_iftype net/mac80211/iface.c:1873 [inline] ieee80211_if_change_type+0x360/0x790 net/mac80211/iface.c:1911 ieee80211_change_iface+0xa5/0x500 net/mac80211/cfg.c:219 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x586/0xdc0 net/wireless/util.c:1217 nl80211_set_interface+0x64c/0x980 net/wireless/nl80211.c:4368 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2551 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2607 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2661 __sys_sendmsg+0x117/0x1f0 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa313f7e719 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa314d7b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa314135f80 RCX: 00007fa313f7e719 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007fa313ff132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa314135f80 R15: 00007fff972a5c18