------------[ cut here ]------------ WARNING: CPU: 1 PID: 4576 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403 Modules linked in: CPU: 1 PID: 4576 Comm: kworker/u4:9 Not tainted 6.1.38-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: phy11 ieee80211_scan_work 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 : ffff800022cb78f0 x29: ffff800022cb78f0 x28: 0000000000000001 x27: dfff800000000000 x26: ffff0000d6160000 x25: ffff00011087ac70 x24: ffff00011087ab48 x23: ffff0001108055a0 x22: ffff0000d93de100 x21: dfff800000000000 x20: 0000000000000001 x19: ffff000110878e00 x18: ffff800022cb7480 x17: ffff80019f0ab000 x16: ffff8000084f9038 x15: 0000000000046bf6 x14: 1ffff00002aba0b0 x13: dfff800000000000 x12: 0000000000000001 x11: ff808000119ba2e4 x10: 0000000000000000 x9 : ffff8000119ba2e4 x8 : ffff0000d0de5340 x7 : ffff8000119da710 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000121e0424 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_work+0x148/0x1950 net/mac80211/scan.c:1161 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 irq event stamp: 4469196 hardirqs last enabled at (4469195): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4469195): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (4469196): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (4469192): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (4469192): [] ieee80211_configure_filter+0x628/0x1364 net/mac80211/main.c:74 softirqs last disabled at (4469190): [] spin_lock_bh include/linux/spinlock.h:355 [inline] softirqs last disabled at (4469190): [] ieee80211_configure_filter+0x3fc/0x1364 net/mac80211/main.c:70 ---[ end trace 0000000000000000 ]---