------------[ cut here ]------------ WARNING: CPU: 1 PID: 13135 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 Modules linked in: CPU: 1 PID: 13135 Comm: syz-executor.2 Not tainted 6.1.42-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 : ffff800020c56f50 x29: ffff800020c56f50 x28: 0000000000000001 x27: dfff800000000000 x26: ffff00010e4ee000 x25: ffff00010fe6ac70 x24: ffff00010fe6ab48 x23: ffff0000dc7dd5a0 x22: ffff0000dc2efd00 x21: dfff800000000000 x20: 0000000000000001 x19: ffff00010fe68e00 x18: 1fffe000368ae376 x17: ffff80001589d000 x16: ffff8000084fbcf0 x15: 0000000000000000 x14: 1ffff00002b140b0 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000000bdc4 x10: ffff80002810c000 x9 : ffff8000119bf2a4 x8 : 000000000000bdc5 x7 : ffff8000119df6d0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000121e2f4c 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: 450 hardirqs last enabled at (449): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (449): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (450): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (446): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (446): [] ieee80211_configure_filter+0x628/0x1364 net/mac80211/main.c:74 softirqs last disabled at (444): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (444): [] ieee80211_configure_filter+0x3fc/0x1364 net/mac80211/main.c:70 ---[ end trace 0000000000000000 ]---