------------[ cut here ]------------ WARNING: CPU: 0 PID: 4474 at net/mac80211/ibss.c:500 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 0 PID: 4474 Comm: kworker/u4:10 Not tainted 6.1.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: phy10 ieee80211_iface_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:500 sp : ffff80001e527260 x29: ffff80001e527280 x28: 1fffe0001e2fa2b5 x27: dfff800000000000 x26: ffff0000f17d2adf x25: ffff0000f19c0760 x24: 0000000000000000 x23: ffff0000f17d15a8 x22: ffff0000f17d1b08 x21: 0000000000000002 x20: ffff0000f17d0c80 x19: ffff80001e527520 x18: ffff80001e526ea0 x17: ffff800018a97000 x16: ffff8000084fa048 x15: 0000000000000002 x14: 0000000000000003 x13: ffff0000d9929bc0 x12: 0000000000100000 x11: 0000000000001e89 x10: ffff80002c0c8000 x9 : ffff800011b48154 x8 : 0000000000001e8a x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : 0000000000000000 x2 : 0000000000000006 x1 : ffff8000123dc680 x0 : 00000000ffffffea Call trace: ieee80211_ibss_csa_beacon+0x518/0x5b0 ieee80211_set_csa_beacon net/mac80211/cfg.c:3696 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3826 [inline] ieee80211_channel_switch+0x125c/0x21b4 net/mac80211/cfg.c:3866 ieee80211_ibss_process_chanswitch+0x9f4/0xd68 net/mac80211/ibss.c:888 ieee80211_rx_mgmt_spectrum_mgmt net/mac80211/ibss.c:927 [inline] ieee80211_ibss_rx_queued_mgmt+0x11ec/0x27a0 net/mac80211/ibss.c:1662 ieee80211_iface_process_skb net/mac80211/iface.c:1632 [inline] ieee80211_iface_work+0x5c4/0xa90 net/mac80211/iface.c:1686 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292 worker_thread+0x8e4/0xfec kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 2419402 hardirqs last enabled at (2419401): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:401 hardirqs last disabled at (2419402): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2419400): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (2419400): [] cfg80211_get_bss+0x708/0xb34 net/wireless/scan.c:1529 softirqs last disabled at (2419398): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (2419398): [] cfg80211_get_bss+0x148/0xb34 net/wireless/scan.c:1503 ---[ end trace 0000000000000000 ]--- wlan1: Trigger new scan to find an IBSS to join