================================================================== BUG: KASAN: slab-out-of-bounds in cfg80211_wext_freq+0x1f1/0x230 net/wireless/wext-compat.c:235 Read of size 2 at addr ffff88801df56140 by task syz-executor.0/3608 CPU: 0 PID: 3608 Comm: syz-executor.0 Not tainted 5.15.161-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description+0x63/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x16b/0x1c0 mm/kasan/report.c:451 cfg80211_wext_freq+0x1f1/0x230 net/wireless/wext-compat.c:235 cfg80211_wext_siwscan+0x4fd/0xfc0 net/wireless/scan.c:2831 ioctl_standard_iw_point+0x781/0xca0 net/wireless/wext-core.c:848 ioctl_standard_call+0xc3/0x280 net/wireless/wext-core.c:1033 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:0x7fb1c8e090a9 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:00007fb1c79820c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb1c8f3ff80 RCX: 00007fb1c8e090a9 RDX: 0000000020000000 RSI: 0000000000008b18 RDI: 0000000000000003 RBP: 00007fb1c8e78074 R08: 0000000000000000 R09: 00000