mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium wlan1: authenticate with 08:02:11:00:00:01 wlan1: bad VHT capabilities, disabling VHT wlan1: Invalid HE elem, Disable HE ------------[ cut here ]------------ WARNING: CPU: 0 PID: 22317 at net/mac80211/sta_info.c:555 sta_info_insert_rcu+0x281/0x2930 Modules linked in: CPU: 0 PID: 22317 Comm: syz-executor.7 Not tainted 5.18.0-rc2-next-20220414 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:sta_info_insert_rcu+0x281/0x2930 Code: 64 fd 44 89 e6 31 ff 83 e6 01 40 88 b5 40 ff ff ff e8 03 18 64 fd 0f b6 85 40 ff ff ff 84 c0 0f 84 01 01 00 00 e8 8f 13 64 fd <0f> 0b c7 85 40 ff ff ff ea ff ff ff e8 7e 13 64 fd 4c 89 f6 4c 89 RSP: 0018:ffff88801a9f6b40 EFLAGS: 00010216 RAX: 0000000000001ee3 RBX: ffff88804afd4bc0 RCX: ffffc90011e00000 RDX: 0000000000040000 RSI: ffffffff83e012d1 RDI: 0000000000000003 RBP: ffff88801a9f6c88 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff83e0129a R11: 0000000000000000 R12: 0000000000110208 R13: ffff8880498f8048 R14: ffff8880498f8000 R15: ffff888047048e60 FS: 00007ff8fb375700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65d15e7000 CR3: 000000004b466000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Call Trace: sta_info_insert+0x13/0xb0 ieee80211_prep_connection+0x30ff/0x4220 ieee80211_mgd_auth.cold+0x274/0x450 cfg80211_mlme_auth+0x3a9/0x720 cfg80211_conn_do_work+0xc8c/0xf80 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium cfg80211_connect+0x1072/0x1f60 nl80211_connect+0x1642/0x21d0 genl_family_rcv_msg_doit+0x22d/0x330 genl_rcv_msg+0x33c/0x5a0 netlink_rcv_skb+0x14b/0x430 genl_rcv+0x24/0x40 netlink_unicast+0x54a/0x800 netlink_sendmsg+0x904/0xe00 sock_sendmsg+0x150/0x190 ____sys_sendmsg+0x703/0x870 ___sys_sendmsg+0xf3/0x170 __sys_sendmsg+0xe5/0x1b0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff8fddffb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff8fb375188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff8fdf12f60 RCX: 00007ff8fddffb19 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 RBP: 00007ff8fde59f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff056844af R14: 00007ff8fb375300 R15: 0000000000022000 irq event stamp: 5771 hardirqs last enabled at (5781): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (5790): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (4654): [] __irq_exit_rcu+0x113/0x170 softirqs last disabled at (4593): [] __irq_exit_rcu+0x113/0x170 ---[ end trace 0000000000000000 ]--- wlan1: failed to insert STA entry for the AP (error -22)