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]' (aka 'struct xad[18]') CPU: 1 PID: 75 Comm: kworker/u4:4 Not tainted 6.4.0-rc5-syzkaller-00133-g25041a4c02c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: writeback wb_workfn (flush-7:2) Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0x11c/0x150 lib/ubsan.c:348 xtInsert+0xf45/0xfa0 fs/jfs/jfs_xtree.c:622 extAlloc+0xa64/0x1010 fs/jfs/jfs_extent.c:145 jfs_get_block+0x41b/0xe60 fs/jfs/inode.c:248 __mpage_writepage+0x90c/0x2010 fs/mpage.c:559 write_cache_pages+0x89e/0x12b0 mm/page-writeback.c:2473 mpage_writepages+0x107/0x1d0 fs/mpage.c:679 do_writepages+0x3a6/0x670 mm/page-writeback.c:2551 __writeback_single_inode+0x155/0xfa0 fs/fs-writeback.c:1603 writeback_sb_inodes+0x8e3/0x11d0 fs/fs-writeback.c:1894 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:1965 wb_writeback+0x46c/0xc70 fs/fs-writeback.c:2070 wb_check_start_all fs/fs-writeback.c:2192 [inline] wb_do_writeback fs/fs-writeback.c:2218 [inline] wb_workfn+0x98f/0xff0 fs/fs-writeback.c:2251 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ================================================================================