------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2783:24 index 4294967295 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 0 UID: 0 PID: 116 Comm: jfsCommit Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0x121/0x150 lib/ubsan.c:453 dbJoin+0x2ed/0x310 fs/jfs/jfs_dmap.c:2783 dbFreeBits+0x4ea/0xdd0 fs/jfs/jfs_dmap.c:2343 dbFreeDmap fs/jfs/jfs_dmap.c:2092 [inline] dbFree+0x35c/0x680 fs/jfs/jfs_dmap.c:409 txFreeMap+0x96a/0xd50 fs/jfs/jfs_txnmgr.c:2515 xtTruncate+0xe82/0x32a0 fs/jfs/jfs_xtree.c:2467 jfs_free_zero_link+0x47f/0x700 fs/jfs/namei.c:759 jfs_evict_inode+0x362/0x440 fs/jfs/inode.c:153 evict+0x4f9/0x9b0 fs/inode.c:810 txUpdateMap+0x948/0xb20 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x49c/0xb90 fs/jfs/jfs_txnmgr.c:2733 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---[ end trace ]---