================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2846:24 index 4294967295 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 1 PID: 274 Comm: jfsCommit Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0x118/0x140 lib/ubsan.c:282 dbJoin+0x2e9/0x310 fs/jfs/jfs_dmap.c:2846 dbFreeBits+0x4ef/0xdb0 fs/jfs/jfs_dmap.c:2406 dbFreeDmap fs/jfs/jfs_dmap.c:2155 [inline] dbFree+0x357/0x670 fs/jfs/jfs_dmap.c:409 txFreeMap+0x794/0xd50 fs/jfs/jfs_txnmgr.c:2568 txUpdateMap+0x33e/0x9e0 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x470/0xc30 fs/jfs/jfs_txnmgr.c:2766 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 ================================================================================ Kernel panic - not syncing: UBSAN: panic_on_warn set ... CPU: 1 PID: 274 Comm: jfsCommit Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 panic+0x318/0x860 kernel/panic.c:309 check_panic_on_warn+0x7e/0xa0 kernel/panic.c:229 ubsan_epilogue lib/ubsan.c:157 [inline] __ubsan_handle_out_of_bounds+0x138/0x140 lib/ubsan.c:282 dbJoin+0x2e9/0x310 fs/jfs/jfs_dmap.c:2846 dbFreeBits+0x4ef/0xdb0 fs/jfs/jfs_dmap.c:2406 dbFreeDmap fs/jfs/jfs_dmap.c:2155 [inline] dbFree+0x357/0x670 fs/jfs/jfs_dmap.c:409 txFreeMap+0x794/0xd50 fs/jfs/jfs_txnmgr.c:2568 txUpdateMap+0x33e/0x9e0 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x470/0xc30 fs/jfs/jfs_txnmgr.c:2766 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Kernel Offset: disabled Rebooting in 86400 seconds..