------------[ cut here ]------------ WARNING: CPU: 1 PID: 6308 at net/mac80211/ibss.c:503 ieee80211_ibss_csa_beacon+0x518/0x5b0 Modules linked in: CPU: 1 PID: 6308 Comm: syz.2.702 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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 : ffff80001dc26ca0 x29: ffff80001dc26cc0 x28: 1fffe0001cc05a51 x27: dfff800000000000 x26: ffff0000db29b730 x25: ffff0000db2985c0 x24: 0000000000000000 x23: ffff0000e602d288 x22: ffff0000e602db18 x21: 0000000000000002 x20: ffff0000e602cc80 x19: ffff80001dc27000 x18: 0000000000000201 x17: 0000000000000002 x16: ffff8000084c36cc x15: 0000000000000003 x14: ffff0000cc2bb680 x13: 0000000000ff0100 x12: 0000000000040000 x11: 0000000000013892 x10: ffff80001ea69000 x9 : 0000000000013893 x8 : ffff800011450534 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000179fe738 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000006 x1 : ffff800011c0ad00 x0 : 00000000ffffffea Call trace: ieee80211_ibss_csa_beacon+0x518/0x5b0 ieee80211_set_csa_beacon net/mac80211/cfg.c:3377 [inline] __ieee80211_channel_switch net/mac80211/cfg.c:3507 [inline] ieee80211_channel_switch+0x10c4/0x1f5c net/mac80211/cfg.c:3545 rdev_channel_switch+0x128/0x5ac net/wireless/rdev-ops.h:1088 nl80211_channel_switch+0x750/0xe30 net/wireless/nl80211.c:9385 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xc18/0x1018 net/netlink/genetlink.c:792 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2504 genl_rcv+0x38/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline] netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1352 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x584/0x870 net/socket.c:2431 ___sys_sendmsg+0x214/0x294 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg net/socket.c:2521 [inline] __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2521 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 2438 hardirqs last enabled at (2437): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (2438): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2436): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (2436): [] cfg80211_get_bss+0x6e4/0xd10 net/wireless/scan.c:1512 softirqs last disabled at (2434): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (2434): [] cfg80211_get_bss+0x124/0xd10 net/wireless/scan.c:1486 ---[ end trace 5ae217faab270cfe ]---