------------[ cut here ]------------ WARNING: CPU: 1 PID: 10753 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 Modules linked in: CPU: 1 PID: 10753 Comm: syz-executor.2 Not tainted 6.1.52-syzkaller #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 : ffff800020e16f50 x29: ffff800020e16f50 x28: 0000000000000001 x27: dfff800000000000 x26: ffff0001101ed000 x25: ffff0001119eac70 x24: ffff0001119eab48 x23: ffff000111a615a0 x22: ffff0000c3fff200 x21: dfff800000000000 x20: 0000000000000001 x19: ffff0001119e8e00 x18: ffff800020e16800 x17: 0000000000000005 x16: ffff8000084fb154 x15: 0000000000000000 x14: 1ffff00002b160b0 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000bed1 x10: ffff800027409000 x9 : ffff8000119cfb28 x8 : 000000000000bed2 x7 : ffff8000119eff94 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000121f2e6c x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 __ieee80211_scan_completed+0x6ec/0xa88 net/mac80211/scan.c:509 ieee80211_scan_cancel+0xf0/0x6f4 net/mac80211/scan.c:1308 ieee80211_do_stop+0x148/0x197c net/mac80211/iface.c:461 ieee80211_runtime_change_iftype net/mac80211/iface.c:1905 [inline] ieee80211_if_change_type+0x478/0xcf4 net/mac80211/iface.c:1943 ieee80211_change_iface+0x6c/0x418 net/mac80211/cfg.c:217 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x758/0x100c net/wireless/util.c:1084 nl80211_set_interface+0x3f8/0x6f0 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+0x948/0xc2c net/netlink/genetlink.c:850 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2525 genl_rcv+0x38/0x50 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline] netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1354 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1903 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] __sys_sendto+0x3b4/0x504 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2125 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 454 hardirqs last enabled at (453): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (453): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (454): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (450): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (450): [] ieee80211_configure_filter+0x628/0x1364 net/mac80211/main.c:74 softirqs last disabled at (448): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (448): [] ieee80211_configure_filter+0x3fc/0x1364 net/mac80211/main.c:70 ---[ end trace 0000000000000000 ]---