------------[ cut here ]------------ WARNING: CPU: 0 PID: 4081 at net/mac80211/ibss.c:503 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 0 PID: 4081 Comm: kworker/u4:6 Not tainted 5.15.158-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: phy9 ieee80211_csa_finalize_work pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ieee80211_ibss_csa_beacon+0x518/0x5b0 lr : ieee80211_ibss_csa_beacon+0x514/0x5b0 net/mac80211/ibss.c:503 sp : ffff80001d6179e0 x29: ffff80001d617a00 x28: 1fffe0001d32fa51 x27: dfff800000000000 x26: dfff800000000000 x25: ffff0000c8bb05c0 x24: 0000000000000000 x23: ffff0000e997d288 x22: ffff0000e997db18 x21: 0000000000000002 x20: ffff0000e997cc80 x19: 0000000000000000 x18: 0000000000000201 x17: 0000000000000000 x16: ffff8000084c430c x15: 0000000000000003 x14: ffff0000c21d51c0 x13: 0000000000ff0100 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c21d51c0 x8 : ffff8000113343ac x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80000804685c x2 : 0000000000000006 x1 : ffff800011aead00 x0 : 00000000ffffffea Call trace: ieee80211_ibss_csa_beacon+0x518/0x5b0 ieee80211_ibss_finish_csa+0x248/0x32c net/mac80211/ibss.c:559 ieee80211_set_after_csa_beacon net/mac80211/cfg.c:3183 [inline] __ieee80211_csa_finalize net/mac80211/cfg.c:3239 [inline] ieee80211_csa_finalize+0x3d4/0xd70 net/mac80211/cfg.c:3262 ieee80211_csa_finalize_work+0xec/0x134 net/mac80211/cfg.c:3287 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: 8345476 hardirqs last enabled at (8345475): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (8345476): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (8345474): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (8345474): [] cfg80211_get_bss+0x6e4/0xd10 net/wireless/scan.c:1512 softirqs last disabled at (8345472): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (8345472): [] cfg80211_get_bss+0x124/0xd10 net/wireless/scan.c:1486 ---[ end trace bc26cdf5b8e043e6 ]--- wlan0: failed to finalize CSA, disconnecting