------------[ cut here ]------------ WARNING: CPU: 1 PID: 314 at net/wireless/core.h:235 ASSERT_WDEV_LOCK net/wireless/core.h:235 [inline] WARNING: CPU: 1 PID: 314 at net/wireless/core.h:235 cfg80211_ch_switch_notify+0x2c0/0x524 net/wireless/nl80211.c:17540 Modules linked in: CPU: 1 PID: 314 Comm: kworker/u4:4 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: phy4 ieee80211_csa_finalize_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ASSERT_WDEV_LOCK net/wireless/core.h:235 [inline] pc : cfg80211_ch_switch_notify+0x2c0/0x524 net/wireless/nl80211.c:17540 lr : ASSERT_WDEV_LOCK net/wireless/core.h:235 [inline] lr : cfg80211_ch_switch_notify+0x2c0/0x524 net/wireless/nl80211.c:17540 sp : ffff80001fc47a70 x29: ffff80001fc47a70 x28: 1fffe0001aa3e2d7 x27: 1fffe0001aa3e251 x26: ffff800014ac0000 x25: ffff0000c1f705c0 x24: dfff800000000000 x23: 1ffff00002958069 x22: 0000000000000000 x21: ffff0000d51f0c90 x20: ffff0000d51f0000 x19: ffff0000d51f16c0 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 000000000000000c x14: ffff0000c7a38000 x13: 0000000000ff0100 x12: ffffffffffffffff x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c7a38000 x8 : ffff8000112cbd30 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : 0000000000000100 x2 : ffff0000d51f22a0 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: ASSERT_WDEV_LOCK net/wireless/core.h:235 [inline] cfg80211_ch_switch_notify+0x2c0/0x524 net/wireless/nl80211.c:17540 __ieee80211_csa_finalize net/mac80211/cfg.c:3256 [inline] ieee80211_csa_finalize+0x674/0xd70 net/mac80211/cfg.c:3263 ieee80211_csa_finalize_work+0xec/0x134 net/mac80211/cfg.c:3288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 66930 hardirqs last enabled at (66929): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (66929): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (66930): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (66918): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (66918): [] cfg80211_put_bss+0x1dc/0x230 net/wireless/scan.c:2623 softirqs last disabled at (66916): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (66916): [] cfg80211_put_bss+0x38/0x230 net/wireless/scan.c:2621 ---[ end trace 9b6dfdd48094268b ]---