------------[ cut here ]------------ WARNING: CPU: 1 PID: 5067 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1d4/0x21c net/mac80211/offchannel.c:403 Modules linked in: CPU: 1 PID: 5067 Comm: syz.3.274 Not tainted 6.1.96-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ieee80211_start_next_roc+0x1d4/0x21c net/mac80211/offchannel.c:403 lr : ieee80211_start_next_roc+0x1d4/0x21c net/mac80211/offchannel.c:403 sp : ffff80001e3a6d90 x29: ffff80001e3a6d90 x28: 0000000000000001 x27: dfff800000000000 x26: ffff0000cab24000 x25: ffff0000edec2c78 x24: ffff0000edec2bb8 x23: ffff0000ccbb95b8 x22: ffff0000ec774500 x21: dfff800000000000 x20: 0000000000000001 x19: ffff0000edec0ea0 x18: 1fffe0003686f176 x17: ffff80001584d000 x16: ffff8000084fa2a4 x15: 0000000000000002 x14: 1ffff00002b0a0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000002d19 x10: ffff800021d29000 x9 : ffff800011a0ae14 x8 : 0000000000002d1a x7 : ffff800011a2b510 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80001223507c x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: ieee80211_start_next_roc+0x1d4/0x21c net/mac80211/offchannel.c:403 __ieee80211_scan_completed+0x6ec/0xa88 net/mac80211/scan.c:509 ieee80211_scan_cancel+0x108/0x70c net/mac80211/scan.c:1304 ieee80211_do_stop+0x148/0x1994 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+0x404/0x6fc net/wireless/nl80211.c:4173 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:2508 genl_rcv+0x38/0x50 net/netlink/genetlink.c:861 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] ____sys_sendmsg+0x55c/0x848 net/socket.c:2514 ___sys_sendmsg net/socket.c:2568 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2597 __do_sys_sendmsg net/socket.c:2606 [inline] __se_sys_sendmsg net/socket.c:2604 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604 __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:585 irq event stamp: 1604 hardirqs last enabled at (1603): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1603): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (1604): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1600): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (1600): [] ieee80211_configure_filter+0x628/0x1364 net/mac80211/main.c:74 softirqs last disabled at (1598): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (1598): [] ieee80211_configure_filter+0x3fc/0x1364 net/mac80211/main.c:70 ---[ end trace 0000000000000000 ]---