------------[ cut here ]------------ WARNING: CPU: 0 PID: 6016 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 Modules linked in: CPU: 0 PID: 6016 Comm: syz-executor227 Not tainted 6.5.0-rc7-syzkaller-g35e2132122ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 lr : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 sp : ffff800096f56eb0 x29: ffff800096f56eb0 x28: 0000000000000001 x27: dfff800000000000 x26: ffff0000c27be000 x25: ffff0000ceec2cf8 x24: ffff0000ceec2bd0 x23: ffff0000ceee55d0 x22: ffff0000ce2ac600 x21: dfff800000000000 x20: 0000000000000001 x19: ffff0000ceec0e40 x18: 1fffe0003683adc6 x17: ffff80008e09d000 x16: ffff800080516cc4 x15: 0000000000000001 x14: 1ffff00012deadb8 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 x8 : ffff0000c22b9bc0 x7 : ffff800089e040e4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008a64af80 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 __ieee80211_scan_completed+0x77c/0xc90 net/mac80211/scan.c:492 ieee80211_scan_cancel+0x184/0xa30 net/mac80211/scan.c:1291 ieee80211_do_stop+0x148/0x1944 net/mac80211/iface.c:461 ieee80211_runtime_change_iftype net/mac80211/iface.c:1876 [inline] ieee80211_if_change_type+0x478/0xd0c net/mac80211/iface.c:1914 ieee80211_change_iface+0x6c/0x41c net/mac80211/cfg.c:217 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x7a4/0x1408 net/wireless/util.c:1165 nl80211_set_interface+0x3f8/0x6f0 net/wireless/nl80211.c:4221 genl_family_rcv_msg_doit net/netlink/genetlink.c:970 [inline] genl_family_rcv_msg net/netlink/genetlink.c:1050 [inline] genl_rcv_msg+0x96c/0xc50 net/netlink/genetlink.c:1067 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2549 genl_rcv+0x38/0x50 net/netlink/genetlink.c:1078 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg net/socket.c:748 [inline] __sys_sendto+0x3bc/0x540 net/socket.c:2134 __do_sys_sendto net/socket.c:2146 [inline] __se_sys_sendto net/socket.c:2142 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2142 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 2198 hardirqs last enabled at (2197): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2197): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (2198): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:436 softirqs last enabled at (2192): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (2192): [] ieee80211_configure_filter+0x5e0/0x1428 net/mac80211/main.c:75 softirqs last disabled at (2190): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (2190): [] ieee80211_configure_filter+0x3f8/0x1428 net/mac80211/main.c:71 ---[ end trace 0000000000000000 ]---