================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2841:19 index -16119285 is out of range for type 's8 [1365]' CPU: 1 PID: 120 Comm: jfsCommit Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_out_of_bounds.cold+0x62/0x6c lib/ubsan.c:283 dbAdjTree+0x34c/0x360 fs/jfs/jfs_dmap.c:2841 dbJoin+0x1f0/0x240 fs/jfs/jfs_dmap.c:2808 dbFreeBits+0x15d/0x8c0 fs/jfs/jfs_dmap.c:2305 dbFreeDmap+0x61/0x1a0 fs/jfs/jfs_dmap.c:2054 dbFree+0x250/0x540 fs/jfs/jfs_dmap.c:379 txFreeMap+0x8f1/0xd70 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x3cd/0xc50 fs/jfs/jfs_txnmgr.c:2325 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x610/0xb70 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 ================================================================================ Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 120 Comm: jfsCommit Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 panic+0x2c8/0x622 kernel/panic.c:274 ubsan_epilogue+0x4a/0x50 lib/ubsan.c:158 __ubsan_handle_out_of_bounds.cold+0x62/0x6c lib/ubsan.c:283 dbAdjTree+0x34c/0x360 fs/jfs/jfs_dmap.c:2841 dbJoin+0x1f0/0x240 fs/jfs/jfs_dmap.c:2808 dbFreeBits+0x15d/0x8c0 fs/jfs/jfs_dmap.c:2305 dbFreeDmap+0x61/0x1a0 fs/jfs/jfs_dmap.c:2054 dbFree+0x250/0x540 fs/jfs/jfs_dmap.c:379 txFreeMap+0x8f1/0xd70 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x3cd/0xc50 fs/jfs/jfs_txnmgr.c:2325 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x610/0xb70 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Kernel Offset: disabled Rebooting in 86400 seconds..