------------[ cut here ]------------ WARNING: CPU: 2 PID: 18951 at net/mac80211/rate.c:53 rate_control_rate_init+0x5c0/0x720 net/mac80211/rate.c:53 Modules linked in: CPU: 2 UID: 0 PID: 18951 Comm: syz.9.2522 Not tainted 6.16.0-syzkaller-11952-g6e64f4580381 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:rate_control_rate_init+0x5c0/0x720 net/mac80211/rate.c:53 Code: 48 8d 35 00 00 00 00 e8 9e 33 8f f6 e8 99 5a 99 f6 e9 25 fe ff ff e8 7f 04 b3 f6 90 0f 0b 90 e9 17 fe ff ff e8 71 04 b3 f6 90 <0f> 0b 90 eb b1 e8 66 04 b3 f6 e8 71 24 98 f6 31 ff 89 c3 89 c6 e8 RSP: 0018:ffffc90006a67218 EFLAGS: 00010287 RAX: 00000000000006ee RBX: ffff888030884000 RCX: ffffc90027331000 RDX: 0000000000080000 RSI: ffffffff8b088eaf RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88805438b020 R13: ffff888065358e40 R14: ffff888052ec0000 R15: 0000000000000000 FS: 00007fa8f361b6c0(0000) GS:ffff8880d68c4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001080 CR3: 000000005b089000 CR4: 0000000000352ef0 Call Trace: rate_control_rate_init_all_links+0x76/0x1e0 net/mac80211/rate.c:86 sta_apply_auth_flags.constprop.0+0x4bb/0x510 net/mac80211/cfg.c:1838 sta_apply_parameters+0xc37/0x18b0 net/mac80211/cfg.c:2210 ieee80211_add_station+0x3fa/0x6c0 net/mac80211/cfg.c:2276 rdev_add_station net/wireless/rdev-ops.h:201 [inline] nl80211_new_station+0x14ff/0x1c90 net/wireless/nl80211.c:8441 genl_family_rcv_msg_doit+0x209/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5a7/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg net/socket.c:729 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2614 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2668 __sys_sendmsg+0x16d/0x220 net/socket.c:2700 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa8f278ebe9 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:00007fa8f361b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa8f29b5fa0 RCX: 00007fa8f278ebe9 RDX: 0000000000000000 RSI: 0000200000001080 RDI: 0000000000000007 RBP: 00007fa8f2811e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa8f29b6038 R14: 00007fa8f29b5fa0 R15: 00007ffebfff6138