================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_xtree.c:270:11 index 19 is out of range for type 'xad_t [18]' CPU: 1 PID: 3158 Comm: syz-executor.4 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 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+0x107/0x150 lib/ubsan.c:283 xtSearch+0x1114/0x1cb0 fs/jfs/jfs_xtree.c:270 xtLookup+0x2c0/0x900 fs/jfs/jfs_xtree.c:152 extHint+0x289/0x700 fs/jfs/jfs_extent.c:215 jfs_get_block+0x3a1/0xe30 fs/jfs/inode.c:246 __block_write_begin_int+0x57c/0x1ae0 fs/buffer.c:1991 __block_write_begin fs/buffer.c:2041 [inline] block_write_begin+0x93/0x1e0 fs/buffer.c:2102 jfs_write_begin+0x2d/0x60 fs/jfs/inode.c:304 generic_perform_write+0x314/0x610 mm/filemap.c:3753 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3881 generic_file_write_iter+0xab/0x310 mm/filemap.c:3913 __kernel_write_iter+0x323/0x770 fs/read_write.c:517 dump_emit_page+0xa79/0xca0 fs/coredump.c:857 dump_user_range+0x5b/0xf0 fs/coredump.c:908 elf_core_dump+0x3d5b/0x4570 fs/binfmt_elf.c:2311 do_coredump+0x1874/0x2900 fs/coredump.c:755 get_signal+0x147e/0x1810 kernel/signal.c:2844 arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:309 exc_page_fault+0xa2/0x120 arch/x86/mm/fault.c:1578 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x73666a Code: Unable to access opcode bytes at 0x736640. RSP: 002b:0000000020000008 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fae7bbabf80 RCX: 00007fae7ba8b5a9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007fae7bae67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbf34ed6f R14: 00007fae7c79a300 R15: 0000000000022000