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: 0 PID: 3967 at net/mac80211/sta_info.c:546 sta_info_insert_rcu+0x1b0/0x1f18 net/mac80211/sta_info.c:725 Modules linked in: CPU: 0 PID: 3967 Comm: syz-executor262 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 : ffff80001af36580 x29: ffff80001af36640 x28: ffff0000c9e88c80 x27: 1fffe0001948c009 x26: 0000000000000000 x25: 0000000000110308 x24: 00000000ffffffea x23: ffff0000dc229768 x22: ffff0000ca460048 x21: 0000000000000100 x20: 0000000000110208 x19: ffff0000ca460000 x18: ffff80001af36080 x17: 0000000000000000 x16: ffff8000084c45b4 x15: 000000000000ceab x14: ffff800016f8e500 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d7fcb680 x8 : ffff8000112fa9f8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff8000082e11a8 x2 : ffff0000d7fcb680 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:2546 rdev_auth net/wireless/rdev-ops.h:458 [inline] cfg80211_mlme_auth+0x428/0x9fc net/wireless/mlme.c:273 cfg80211_conn_do_work+0x31c/0x9f4 net/wireless/sme.c:170 cfg80211_sme_connect net/wireless/sme.c:593 [inline] cfg80211_connect+0x1360/0x1e1c net/wireless/sme.c:1276 nl80211_connect+0x124c/0x1898 net/wireless/nl80211.c:10946 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: 3636 hardirqs last enabled at (3635): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (3635): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (3636): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (3628): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (3628): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (3607): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (3607): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (3607): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (3607): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace ebe9bebd16df61a1 ]--- wlan1: failed to insert STA entry for the AP (error -22)