================================================================================ 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: 1 PID: 3896 Comm: syz-executor.0 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/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+0x6f6/0x1d70 fs/buffer.c:2006 __block_write_begin fs/buffer.c:2056 [inline] block_write_begin+0x93/0x1e0 fs/buffer.c:2117 jfs_write_begin+0x2d/0x60 fs/jfs/inode.c:304 generic_perform_write+0x314/0x610 mm/filemap.c:3745 __generic_file_write_iter+0x176/0x400 mm/filemap.c:3873 generic_file_write_iter+0xab/0x310 mm/filemap.c:3905 __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+0x1854/0x2890 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:166 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:307 exc_page_fault+0xa2/0x120 arch/x86/mm/fault.c:1557 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: 00007f1d6b7ac120 RCX: 00007f1d6b68b5a9 RDX: 00000000200000c0 RSI: 0000000020000000 RDI: 0000000040000200 RBP: 00007f1d6b6e6580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 00007fffff5c22af R14: 00007f1d6adbc300 R15: 0000000000022000 ================================================================================