================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_xtree.c:622:9 index 19 is out of range for type 'xad_t [18]' CPU: 0 PID: 3631 Comm: syz-executor421 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 xtInsert+0xfbe/0x1020 fs/jfs/jfs_xtree.c:622 extAlloc+0xaa4/0x1030 fs/jfs/jfs_extent.c:145 jfs_get_block+0x410/0xe30 fs/jfs/inode.c:248 __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: 00007fb8aadcdea8 RCX: 00007fb8aad8c249 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 0000000020005e80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020051280 R13: 0000001200020083 R14: 0000000000000000 R15: 00007ffdc33b6a80 ================================================================================