================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:784:21 index -1 is out of range for type 'struct dtslot[128]' CPU: 1 PID: 20705 Comm: syz.0.4168 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:217 __ubsan_handle_out_of_bounds+0xe3/0xf0 lib/ubsan.c:348 dtSearch+0x1a5a/0x21a0 fs/jfs/jfs_dtree.c:784 jfs_lookup+0x1b1/0x420 fs/jfs/namei.c:1461 lookup_one_qstr_excl+0x112/0x250 fs/namei.c:1617 filename_create+0x246/0x450 fs/namei.c:3938 do_mkdirat+0xa9/0x450 fs/namei.c:4183 __do_sys_mkdirat fs/namei.c:4206 [inline] __se_sys_mkdirat fs/namei.c:4204 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4204 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f6781d9d007 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6782ccbe58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f6782ccbee0 RCX: 00007f6781d9d007 RDX: 00000000000001ff RSI: 0000200000000040 RDI: 00000000ffffff9c RBP: 0000200000000140 R08: 00002000000000c0 R09: 0000000000000000 R10: 0000200000000140 R11: 0000000000000246 R12: 0000200000000040 R13: 00007f6782ccbea0 R14: 0000000000000000 R15: 0000000000000000 ================================================================================