================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:628:10 index 237 is out of range for type 'struct dtslot[128]' CPU: 0 PID: 16476 Comm: syz.6.2398 Tainted: G W 6.1.120-syzkaller-00773-g52f863f820fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0x118/0x140 lib/ubsan.c:282 dtSearch+0x1bda/0x2500 fs/jfs/jfs_dtree.c:628 jfs_lookup+0x17b/0x400 fs/jfs/namei.c:1459 __lookup_slow+0x27e/0x3d0 fs/namei.c:1690 lookup_slow+0x53/0x70 fs/namei.c:1707 walk_component+0x2d0/0x400 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2479 filename_lookup+0x251/0x600 fs/namei.c:2508 user_path_at_empty+0x3e/0x60 fs/namei.c:2905 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:631 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2a6f585d19 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:00007f2a6f3de038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f2a6f776080 RCX: 00007f2a6f585d19 RDX: 0000000000000000 RSI: 0000000020000700 RDI: 00000000200006c0 RBP: 00007f2a6f601a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2a6f776080 R15: 00007ffe121540b8 ================================================================================