------------[ cut here ]------------ WARNING: CPU: 0 PID: 4091 at net/wireless/core.h:220 cfg80211_wext_giwrate net/wireless/wext-compat.c:1296 [inline] WARNING: CPU: 0 PID: 4091 at net/wireless/core.h:220 __cfg80211_wext_giwrate+0x469/0x510 net/wireless/wext-compat.c:1579 Modules linked in: CPU: 1 PID: 4091 Comm: syz.2.98 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:wdev_lock net/wireless/core.h:220 [inline] RIP: 0010:cfg80211_wext_giwrate net/wireless/wext-compat.c:1296 [inline] RIP: 0010:__cfg80211_wext_giwrate+0x469/0x510 net/wireless/wext-compat.c:1579 Code: 25 28 00 00 00 48 3b 84 24 a0 01 00 00 0f 85 b7 00 00 00 44 89 f8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 f7 57 c5 f7 <0f> 0b e9 91 fd ff ff e8 eb 57 c5 f7 0f 0b e9 75 fe ff ff 89 d9 80 RSP: 0018:ffffc90002ee7a40 EFLAGS: 00010283 RAX: ffffffff89bb0279 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90003d9e000 RSI: 00000000000003c7 RDI: 00000000000003c8 RBP: ffffc90002ee7c28 R08: ffffffff89baffdd R09: ffffc90002ee7bc0 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff920005dcf50 R13: 1ffff11004579192 R14: ffff888022bc8c90 R15: dffffc0000000000 FS: 00007f0b0cbda6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b0c977000 CR3: 0000000028abf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ioctl_standard_call+0xdb/0x280 net/wireless/wext-core.c:1026 wext_ioctl_dispatch+0x16f/0x460 net/wireless/wext-core.c:997 wext_handle_ioctl+0x15b/0x260 net/wireless/wext-core.c:1058 sock_ioctl+0x13b/0x770 net/socket.c:1191 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 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:0x7f0b0e761ff9 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:00007f0b0cbda038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0b0e919f80 RCX: 00007f0b0e761ff9 RDX: 0000000020000040 RSI: 0000000000008b21 RDI: 0000000000000006 RBP: 00007f0b0e7d4296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0b0e919f80 R15: 00007fff0ca3e618