------------[ cut here ]------------ WARNING: CPU: 1 PID: 9 at net/mac80211/ibss.c:503 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 5.15.151-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: phy4 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:503 sp : ffff800018917360 x29: ffff800018917380 x28: 1fffe0002251b251 x27: dfff800000000000 x26: ffff0000d5b737b0 x25: ffff0000d5b705c0 x24: 0000000000000000 x23: ffff0001128d9288 x22: ffff0001128d9b18 x21: 0000000000000002 x20: ffff0001128d8c80 x19: ffff800018917620 x18: 0000000000000201 x17: 0000000000000002 x16: ffff8000084c2470 x15: 0000000000000003 x14: ffff0000c0948000 x13: 0000000000ff0100 x12: 0000000000040000 x11: 0000000000001693 x10: ffff80002412a000 x9 : 0000000000001694 x8 : ffff800011312e58 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008046860 x2 : 0000000000000006 x1 : ffff800011acace0 x0 : 00000000ffffffea Call trace: ieee80211_ibss_csa_beacon+0x518/0x5b0 ieee80211_set_csa_beacon net/mac80211/cfg.c:3378 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3508 [inline] ieee80211_channel_switch+0x10c4/0x1f5c net/mac80211/cfg.c:3546 ieee80211_ibss_process_chanswitch+0x9ec/0xd60 net/mac80211/ibss.c:892 ieee80211_rx_mgmt_spectrum_mgmt net/mac80211/ibss.c:931 [inline] ieee80211_ibss_rx_queued_mgmt+0x12c8/0x2814 net/mac80211/ibss.c:1667 ieee80211_iface_process_skb net/mac80211/iface.c:1441 [inline] ieee80211_iface_work+0x5b4/0xa80 net/mac80211/iface.c:1495 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 2600030 hardirqs last enabled at (2600029): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (2600030): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2600028): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (2600028): [] cfg80211_get_bss+0x6e4/0xd10 net/wireless/scan.c:1512 softirqs last disabled at (2600026): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (2600026): [] cfg80211_get_bss+0x124/0xd10 net/wireless/scan.c:1486 ---[ end trace 422027a234f92d61 ]--- wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50