================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_xtree.c:360:4 index 19 is out of range for type 'xad_t[18]' (aka 'struct xad[18]') CPU: 1 PID: 24794 Comm: kworker/u4:2 Not tainted 6.4.0-rc6-syzkaller-00279-g8c1f0c38b310 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: writeback wb_workfn (flush-7:0) 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 xtSearch+0x6dc/0x1ca0 fs/jfs/jfs_xtree.c:360 xtLookup+0x2c4/0x8e0 fs/jfs/jfs_xtree.c:152 jfs_get_block+0x2e9/0xe60 fs/jfs/inode.c:218 __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 wb_writeback+0x458/0xc70 fs/fs-writeback.c:2068 wb_do_writeback fs/fs-writeback.c:2211 [inline] wb_workfn+0x400/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 ================================================================================