------------[ cut here ]------------ WARNING: CPU: 1 PID: 4123 at net/mac80211/offchannel.c:401 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:401 Modules linked in: CPU: 1 PID: 4123 Comm: syz-executor157 Not tainted 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:401 lr : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:401 sp : ffff80001cff6cd0 x29: ffff80001cff6cd0 x28: 1fffe00019c1a54a x27: dfff800000000000 x26: ffff0000db061800 x25: ffff0000ce0d2bb0 x24: ffff0000ce0d2a88 x23: ffff0000ce091298 x22: ffff0000c1fbde00 x21: dfff800000000000 x20: 0000000000000001 x19: ffff0000ce0d0dc0 x18: 0000000000000000 x17: ff808000112d0dd0 x16: ffff8000084c30fc x15: ffff8000112d0dd0 x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000000000 x11: ff808000112d1640 x10: 0000000000000000 x9 : ffff8000112d1640 x8 : ffff0000d59551c0 x7 : ffff8000112f0bd0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800011a13d0c x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:401 __ieee80211_scan_completed+0x768/0xc70 net/mac80211/scan.c:505 ieee80211_scan_cancel+0xf0/0x90c net/mac80211/scan.c:1304 ieee80211_do_stop+0x150/0x18dc net/mac80211/iface.c:384 ieee80211_runtime_change_iftype net/mac80211/iface.c:1701 [inline] ieee80211_if_change_type+0x424/0xc68 net/mac80211/iface.c:1739 ieee80211_change_iface+0x6c/0x3a0 net/mac80211/cfg.c:160 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline] cfg80211_change_iface+0x778/0x143c net/wireless/util.c:1074 nl80211_set_interface+0x3f8/0x704 net/wireless/nl80211.c:3945 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xc18/0x1018 net/netlink/genetlink.c:792 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2504 genl_rcv+0x38/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1356 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1923 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x584/0x870 net/socket.c:2412 ___sys_sendmsg+0x214/0x294 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg net/socket.c:2502 [inline] __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2502 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 764 hardirqs last enabled at (763): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (763): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (764): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (760): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (760): [] ieee80211_configure_filter+0x5e0/0x142c net/mac80211/main.c:74 softirqs last disabled at (758): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (758): [] ieee80211_configure_filter+0x3f8/0x142c net/mac80211/main.c:70 ---[ end trace 2fcdf7b9527acbc8 ]---