------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2772:24 index 4294967295 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 0 UID: 0 PID: 112 Comm: jfsCommit Not tainted 6.16.0-rc6-syzkaller-00121-g6832a9317eee #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x40 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe9/0xf0 lib/ubsan.c:455 dbJoin+0x29f/0x300 fs/jfs/jfs_dmap.c:2772 dbFreeBits+0x4e1/0xdb0 fs/jfs/jfs_dmap.c:2332 dbFreeDmap fs/jfs/jfs_dmap.c:2081 [inline] dbFree+0x336/0x650 fs/jfs/jfs_dmap.c:398 txFreeMap+0x9e6/0xde0 fs/jfs/jfs_txnmgr.c:2515 xtTruncate+0xcd7/0x2dd0 fs/jfs/jfs_xtree.c:2467 jfs_free_zero_link+0x33a/0x4a0 fs/jfs/namei.c:759 jfs_evict_inode+0x363/0x440 fs/jfs/inode.c:153 evict+0x504/0x9c0 fs/inode.c:810 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x43f/0xa90 fs/jfs/jfs_txnmgr.c:2733 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---[ end trace ]---