------------[ cut here ]------------ WARNING: CPU: 1 PID: 5870 at net/mac80211/rate.c:282 ieee80211_check_rate_mask+0x23b/0x3b0 Modules linked in: CPU: 0 PID: 5870 Comm: syz.2.594 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:ieee80211_check_rate_mask+0x23b/0x3b0 net/mac80211/rate.c:282 Code: b6 04 38 84 c0 0f 85 99 00 00 00 89 2a 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 de 46 d2 f7 0f 0b eb e8 e8 d5 46 d2 f7 <0f> 0b eb df 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 0a fe ff ff e8 0c RSP: 0018:ffffc90002fd7270 EFLAGS: 00010287 RAX: ffffffff89ae13fb RBX: ffff888061648c80 RCX: 0000000000040000 RDX: ffffc9000a313000 RSI: 0000000000002a17 RDI: 0000000000002a18 RBP: ffff88807f32b550 R08: ffffffff89ae1289 R09: ffffffff89aff566 R10: 0000000000000002 R11: ffff88801d46bb80 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88807f328da0 FS: 00007f89a31436c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020088000 CR3: 000000007d479000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ieee80211_change_bss+0x462/0x910 net/mac80211/cfg.c:2372 rdev_change_bss net/wireless/rdev-ops.h:394 [inline] nl80211_set_bss+0x84c/0xce0 net/wireless/nl80211.c:7228 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xfbd/0x14a0 net/netlink/genetlink.c:792 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2508 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485 __sys_sendmsg net/socket.c:2514 [inline] __do_sys_sendmsg net/socket.c:2523 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f89a46e3bd9 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:00007f89a3143048 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f89a4872038 RCX: 00007f89a46e3bd9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000007 RBP: 00007f89a4752a98 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f89a4872038 R15: 00007ffde4d7ff58