mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium wlan1: authenticate with 08:02:11:00:00:01 wlan1: No basic rates, using min rate instead ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4948 at net/mac80211/sta_info.c:546 sta_info_insert_rcu+0x1b0/0x1f18 net/mac80211/sta_info.c:725 Modules linked in: CPU: 1 PID: 4948 Comm: syz.0.15 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : sta_info_insert_rcu+0x1b0/0x1f18 net/mac80211/sta_info.c:725 lr : sta_info_insert_check net/mac80211/sta_info.c:545 [inline] lr : sta_info_insert_rcu+0x1ac/0x1f18 net/mac80211/sta_info.c:725 sp : ffff8000203f65a0 x29: ffff8000203f6660 x28: ffff0000e9b20c80 x27: 1fffe0001b58e009 x26: 0000000000000000 x25: 0000000000110308 x24: 00000000ffffffea x23: ffff0000cafe1768 x22: ffff0000dac70048 x21: 0000000000000100 x20: 0000000000110208 x19: ffff0000dac70000 x18: ffff8000203f60a0 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 000000000001bdf4 x14: ffff80001713e500 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c2da1b40 x8 : ffff80001141479c x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff8000082e1cb8 x2 : ffff0000c2da1b40 x1 : 0000000000110308 x0 : 0000000000000000 Call trace: sta_info_insert_rcu+0x1b0/0x1f18 net/mac80211/sta_info.c:725 sta_info_insert+0x20/0xcc net/mac80211/sta_info.c:738 ieee80211_prep_connection+0x2714/0x30a0 net/mac80211/mlme.c:5380 ieee80211_mgd_auth+0x7f0/0xbc8 net/mac80211/mlme.c:5525 ieee80211_auth+0x28/0x38 net/mac80211/cfg.c:2547 rdev_auth net/wireless/rdev-ops.h:458 [inline] cfg80211_mlme_auth+0x490/0xa98 net/wireless/mlme.c:273 cfg80211_conn_do_work+0x370/0xa84 net/wireless/sme.c:170 cfg80211_sme_connect net/wireless/sme.c:593 [inline] cfg80211_connect+0x1354/0x1e58 net/wireless/sme.c:1276 nl80211_connect+0x1244/0x188c net/wireless/nl80211.c:10944 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:2503 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: 2990 hardirqs last enabled at (2989): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (2989): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (2990): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2976): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (2976): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (2963): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (2963): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (2963): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (2963): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace ae4723faea74e3a1 ]--- wlan1: failed to insert STA entry for the AP (error -22)