================================================================== BUG: KASAN: global-out-of-bounds in __io_uring_show_fdinfo io_uring/fdinfo.c:112 [inline] BUG: KASAN: global-out-of-bounds in io_uring_show_fdinfo+0x97a/0x1770 io_uring/fdinfo.c:257 Read of size 2 at addr ffffffff83998c30 by task syz.3.17/2879 CPU: 1 UID: 0 PID: 2879 Comm: syz.3.17 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0xf4/0x170 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 __io_uring_show_fdinfo io_uring/fdinfo.c:112 [inline] io_uring_show_fdinfo+0x97a/0x1770 io_uring/fdinfo.c:257 seq_show+0x42c/0x4e0 fs/proc/fd.c:68 traverse+0x1db/0x4b0 fs/seq_file.c:111 seq_read_iter+0xa62/0xb60 fs/seq_file.c:195 seq_read+0x274/0x380 fs/seq_file.c:162 do_loop_readv_writev fs/read_write.c:847 [inline] vfs_readv+0x56c/0x8a0 fs/read_write.c:1020 do_preadv fs/read_write.c:1132 [inline] __do_sys_preadv fs/read_write.c:1179 [inline] __se_sys_preadv fs/read_write.c:1174 [inline] __x64_sys_preadv+0x14b/0x230 fs/read_write.c:1174 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x8f/0x250 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f966ee4efc9 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:00007f966ecbf038 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f966f0a5fa0 RCX: 00007f966ee4efc9 RDX: 0000000000000001 RSI: 00002000000005c0 RDI: 0000000000000004 RBP: 00007f966eed1f91 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f966f0a6038 R14: 00007f966f0a5fa0 R15: 00007ffc6e96fe58 The buggy address belongs to the variable: .str.15+0x10/0x20 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x3998 flags: 0x100000000002000(reserved|node=0|zone=1) raw: 0100000000002000 ffffea00000e6608 ffffea00000e6608 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not present (never set?) Memory state around the buggy address: ffffffff83998b00: 00 01 f9 f9 00 04 f9 f9 00 00 f9 f9 00 f9 f9 f9 ffffffff83998b80: 00 f9 f9 f9 00 f9 f9 f9 00 07 f9 f9 07 f9 f9 f9 >ffffffff83998c00: 00 05 f9 f9 00 05 f9 f9 00 f9 f9 f9 00 02 f9 f9 ^ ffffffff83998c80: 07 f9 f9 f9 06 f9 f9 f9 00 05 f9 f9 06 f9 f9 f9 ffffffff83998d00: 05 f9 f9 f9 06 f9 f9 f9 00 f9 f9 f9 00 f9 f9 f9 ==================================================================