------------[ cut here ]------------ WARNING: CPU: 1 PID: 5329 at net/mac80211/ibss.c:503 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 1 PID: 5329 Comm: kworker/u4:29 Not tainted 5.15.166-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: phy6 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 : ffff800021247360 x29: ffff800021247380 x28: 1fffe0001cc68a51 x27: dfff800000000000 x26: ffff0000d6acb730 x25: ffff0000d6ac85c0 x24: 0000000000000000 x23: ffff0000e6345288 x22: ffff0000e6345b18 x21: 0000000000000002 x20: ffff0000e6344c80 x19: ffff800021247620 x18: 0000000000000201 x17: 0000000000000002 x16: ffff8000084c4e2c x15: 0000000000000003 x14: ffff0000ee770000 x13: 0000000000ff0100 x12: 0000000000100000 x11: 0000000000001c0c x10: ffff80002893d000 x9 : 0000000000001c0d x8 : ffff80001144f184 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000006 x1 : ffff800011c0aca0 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:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 13752 hardirqs last enabled at (13751): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (13752): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (13750): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (13750): [] cfg80211_get_bss+0x6e4/0xd10 net/wireless/scan.c:1512 softirqs last disabled at (13748): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (13748): [] cfg80211_get_bss+0x124/0xd10 net/wireless/scan.c:1486 ---[ end trace e7dab2bd69f04478 ]--- wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50