------------[ cut here ]------------ WARNING: CPU: 1 PID: 8529 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Modules linked in: CPU: 0 PID: 8529 Comm: syz-executor028 Not tainted 5.12.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ieee80211_start_next_roc+0x1f4/0x240 net/mac80211/offchannel.c:401 Code: 18 22 00 00 48 89 ef 48 89 c2 e8 47 a7 0b 00 5b 5d e9 00 8d 1a f9 e8 fb 8c 1a f9 48 89 ef e8 c3 73 ff ff eb 8d e8 ec 8c 1a f9 <0f> 0b eb 84 48 c7 c7 0c 5c c5 8d e8 7c 47 5e f9 e9 2f fe ff ff e8 RSP: 0018:ffffc9000164f450 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801abc54c0 RSI: ffffffff88596494 RDI: 0000000000000003 RBP: ffff888018cf0d00 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff885963ad R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888018cf2680 FS: 00000000020613c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005dfca8 CR3: 000000001c262000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ieee80211_scan_completed+0x602/0xed0 net/mac80211/scan.c:477 ieee80211_scan_cancel+0x165/0x9a0 net/mac80211/scan.c:1266 ieee80211_do_stop+0x1906/0x20e0 net/mac80211/iface.c:383 ieee80211_runtime_change_iftype net/mac80211/iface.c:1640 [inline] ieee80211_if_change_type+0x2c5/0x6e0 net/mac80211/iface.c:1678 ieee80211_change_iface+0x26/0x210 net/mac80211/cfg.c:157 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline] cfg80211_change_iface+0x335/0xf30 net/wireless/util.c:1067 nl80211_set_interface+0x65c/0x8d0 net/wireless/nl80211.c:3916 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 __sys_sendto+0x21c/0x320 net/socket.c:1977 __do_sys_sendto net/socket.c:1989 [inline] __se_sys_sendto net/socket.c:1985 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1985 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4058b6 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:00000000005deb18 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000005dec40 RCX: 00000000004058b6 RDX: 0000000000000024 RSI: 00000000005dec90 RDI: 0000000000000007 RBP: 0000000000000001 R08: 00000000005deb34 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000005dec90 R14: 0000000000000007 R15: 0000000000000000