================================================================================
UBSAN: array-index-out-of-bounds in net/mac80211/cfg.c:521:10
index 5 is out of range for type 'ieee80211_key *[4]'
CPU: 1 PID: 5604 Comm: syz-executor.0 Not tainted 5.10.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 dump_stack+0x107/0x163
 ubsan_epilogue+0xb/0x58
 __ubsan_handle_out_of_bounds.cold+0x62/0x6c
 ieee80211_del_key+0x3e9/0x430
 nl80211_del_key+0x4a3/0x8e0
 genl_family_rcv_msg_doit+0x223/0x320
 genl_rcv_msg+0x328/0x580
 netlink_rcv_skb+0x154/0x420
 genl_rcv+0x24/0x40
 netlink_unicast+0x527/0x7e0
 netlink_sendmsg+0x85a/0xd70
 sock_sendmsg+0xc9/0x120
 ____sys_sendmsg+0x62e/0x800
 ___sys_sendmsg+0x100/0x170
 __sys_sendmsg+0xe5/0x1b0
 do_syscall_64+0x2d/0x70
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fdf6f0a1f69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdf6e4220c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdf6f1cff80 RCX: 00007fdf6f0a1f69
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000003
RBP: 00007fdf6f0ee4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fdf6f1cff80 R15: 00007fffb7dcba38
================================================================================
