================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2855:24 index 4294967295 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 0 PID: 276 Comm: jfsCommit Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_out_of_bounds+0xdf/0xf0 lib/ubsan.c:282 dbJoin+0x29a/0x300 fs/jfs/jfs_dmap.c:2855 dbFreeBits+0x4e2/0xd80 fs/jfs/jfs_dmap.c:2415 dbFreeDmap fs/jfs/jfs_dmap.c:2164 [inline] dbFree+0x32e/0x640 fs/jfs/jfs_dmap.c:413 txFreeMap+0x9e2/0xde0 fs/jfs/jfs_txnmgr.c:2549 xtTruncate+0xcb5/0x2c60 fs/jfs/jfs_xtree.c:3428 jfs_free_zero_link+0x337/0x490 fs/jfs/namei.c:758 jfs_evict_inode+0x359/0x430 fs/jfs/inode.c:153 evict+0x485/0x870 fs/inode.c:647 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x437/0xb20 fs/jfs/jfs_txnmgr.c:2766 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ================================================================================