------------[ cut here ]------------ WARNING: CPU: 1 PID: 5039 at include/net/mac80211.h:6309 rate_lowest_index include/net/mac80211.h:-1 [inline] WARNING: CPU: 1 PID: 5039 at include/net/mac80211.h:6309 minstrel_ht_update_caps+0x444/0x1710 net/mac80211/rc80211_minstrel_ht.c:1613 Modules linked in: CPU: 1 PID: 5039 Comm: syz.0.16 Not tainted 5.15.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:rate_lowest_index include/net/mac80211.h:6309 [inline] RIP: 0010:minstrel_ht_update_caps+0x444/0x1710 net/mac80211/rc80211_minstrel_ht.c:1613 Code: 32 e8 80 be 30 f8 48 c1 fb 38 4c 8b 7c 24 10 48 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 18 eb 13 e8 61 be 30 f8 4c 8b 74 24 18 <0f> 0b 31 db 4c 8b 7c 24 10 48 8d 04 5b 4d 8d 2c 86 4c 89 e8 48 c1 RSP: 0018:ffffc9000331f058 EFLAGS: 00010293 RAX: ffffffff894702df RBX: 0b00000000000000 RCX: ffff88807be21dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000540 R12: 000000000000000c R13: ffff88807b08b360 R14: ffff88807b08de50 R15: 1ffff1100f61166c FS: 00007f5c9a47b6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001080 CR3: 0000000029b55000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rate_control_rate_init+0x384/0x590 net/mac80211/rate.c:62 sta_apply_auth_flags+0x1c2/0x400 net/mac80211/cfg.c:1378 sta_apply_parameters+0x1443/0x1c10 net/mac80211/cfg.c:1705 ieee80211_add_station+0x2c2/0x4c0 net/mac80211/cfg.c:1749 rdev_add_station+0xf0/0x240 net/wireless/rdev-ops.h:190 nl80211_new_station+0x103c/0x12e0 net/wireless/nl80211.c:6789 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xbc6/0xf40 net/netlink/genetlink.c:792 netlink_rcv_skb+0x1e0/0x430 net/netlink/af_netlink.c:2489 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x77c/0x920 net/netlink/af_netlink.c:1337 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f5c9b20b969 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c9a47b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5c9b432fa0 RCX: 00007f5c9b20b969 RDX: 0000000000000000 RSI: 0000200000001080 RDI: 0000000000000006 RBP: 00007f5c9b28dab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5c9b432fa0 R15: 00007ffd46d503d8