------------[ cut here ]------------ WARNING: CPU: 1 PID: 5487 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1d4/0x21c net/mac80211/offchannel.c:403 Modules linked in: CPU: 1 PID: 5487 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 : ffff80001d286550 x29: ffff80001d286550 x28: 0000000000000001 x27: dfff800000000000 x26: ffff0000db0c0000 x25: ffff0000dcba2c78 x24: ffff0000dcba2bb8 x23: ffff0000d2eb15b8 x22: ffff0000ccccae00 x21: dfff800000000000 x20: 0000000000000001 x19: ffff0000dcba0ea0 x18: 1fffe0003686f176 x17: ffff80001584d000 x16: ffff8000084f9e0c x15: 0000000000000002 x14: 1ffff00002b0a0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000004c80 x10: ffff80001f06e000 x9 : ffff800011a06948 x8 : 0000000000004c81 x7 : ffff800011a26dcc x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80001222e95c 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:1303 ieee80211_do_stop+0x148/0x1994 net/mac80211/iface.c:461 ieee80211_stop+0x3ac/0x414 net/mac80211/iface.c:762 __dev_close_many+0x2d4/0x3c4 net/core/dev.c:1541 __dev_close net/core/dev.c:1553 [inline] __dev_change_flags+0x280/0x5a0 net/core/dev.c:8583 dev_change_flags+0x80/0x154 net/core/dev.c:8656 do_setlink+0xacc/0x3318 net/core/rtnetlink.c:2801 __rtnl_newlink net/core/rtnetlink.c:3576 [inline] rtnl_newlink+0x1424/0x1b74 net/core/rtnetlink.c:3623 rtnetlink_rcv_msg+0x72c/0xd94 net/core/rtnetlink.c:6121 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2508 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6139 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: 876 hardirqs last enabled at (875): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (875): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (876): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (872): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (872): [] ieee80211_configure_filter+0x628/0x1364 net/mac80211/main.c:74 softirqs last disabled at (870): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (870): [] ieee80211_configure_filter+0x3fc/0x1364 net/mac80211/main.c:70 ---[ end trace 0000000000000000 ]---