------------[ cut here ]------------ WARNING: CPU: 1 PID: 7785 at net/mac80211/ibss.c:503 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 1 PID: 7785 Comm: kworker/u4:16 Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: phy22 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 : ffff8000206e7360 x29: ffff8000206e7380 x28: 1fffe0001c754a51 x27: dfff800000000000 x26: ffff0000e69fb770 x25: ffff0000e69f85c0 x24: 0000000000000000 x23: ffff0000e3aa5288 x22: ffff0000e3aa5b18 x21: 0000000000000002 x20: ffff0000e3aa4c80 x19: ffff8000206e7620 x18: 0000000000000201 x17: 0000000000000002 x16: ffff8000084c44a8 x15: 0000000000000003 x14: ffff0000db218000 x13: 0000000000ff0100 x12: 0000000000100000 x11: 0000000000000c15 x10: ffff80002e561000 x9 : 0000000000000c16 x8 : ffff8000114e1bcc x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008046154 x2 : 0000000000000006 x1 : ffff800011caad00 x0 : 00000000ffffffea Call trace: ieee80211_ibss_csa_beacon+0x518/0x5b0 ieee80211_set_csa_beacon net/mac80211/cfg.c:3382 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3512 [inline] ieee80211_channel_switch+0x10c4/0x1f5c net/mac80211/cfg.c:3550 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:1456 [inline] ieee80211_iface_work+0x5b4/0xa80 net/mac80211/iface.c:1510 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: 1721868 hardirqs last enabled at (1721867): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (1721868): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1721866): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (1721866): [] cfg80211_get_bss+0x6e4/0xd10 net/wireless/scan.c:1512 softirqs last disabled at (1721864): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (1721864): [] cfg80211_get_bss+0x124/0xd10 net/wireless/scan.c:1486 ---[ end trace 43cad542c50e7336 ]--- wlan1: Trigger new scan to find an IBSS to join wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50