non-latin1 character 0x163 found in JFS file name mount with iocharset=utf8 to access ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:3622:7 index -1 is out of range for type 'struct dtslot[128]' CPU: 1 PID: 6687 Comm: syz.4.58 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0xf8/0x148 lib/ubsan.c:429 dtInsertEntry+0x113c/0x1178 fs/jfs/jfs_dtree.c:3622 dtInsert+0x964/0x54f4 fs/jfs/jfs_dtree.c:891 jfs_mkdir+0x6bc/0x9f4 fs/jfs/namei.c:270 vfs_mkdir+0x27c/0x410 fs/namei.c:4184 do_mkdirat+0x248/0x574 fs/namei.c:4207 __do_sys_mkdirat fs/namei.c:4222 [inline] __se_sys_mkdirat fs/namei.c:4220 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4220 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_imap.c:750:12 index 255 is out of range for type 'struct dtslot[128]' CPU: 1 PID: 6687 Comm: syz.4.58 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0xf8/0x148 lib/ubsan.c:429 diWrite+0xbcc/0x15cc fs/jfs/jfs_imap.c:750 txCommit+0x750/0x5438 fs/jfs/jfs_txnmgr.c:1255 jfs_mkdir+0x808/0x9f4 fs/jfs/namei.c:290 vfs_mkdir+0x27c/0x410 fs/namei.c:4184 do_mkdirat+0x248/0x574 fs/namei.c:4207 __do_sys_mkdirat fs/namei.c:4222 [inline] __se_sys_mkdirat fs/namei.c:4220 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4220 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]--- ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_imap.c:750:35 index 255 is out of range for type 'struct dtslot[128]' CPU: 1 PID: 6687 Comm: syz.4.58 Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0xf8/0x148 lib/ubsan.c:429 diWrite+0xc24/0x15cc fs/jfs/jfs_imap.c:750 txCommit+0x750/0x5438 fs/jfs/jfs_txnmgr.c:1255 jfs_mkdir+0x808/0x9f4 fs/jfs/namei.c:290 vfs_mkdir+0x27c/0x410 fs/namei.c:4184 do_mkdirat+0x248/0x574 fs/namei.c:4207 __do_sys_mkdirat fs/namei.c:4222 [inline] __se_sys_mkdirat fs/namei.c:4220 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4220 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]---