================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2857:6 index 1668573185 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 0 PID: 105 Comm: jfsCommit Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x167/0x220 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0xd8/0x100 lib/ubsan.c:348 dbAdjTree+0x4fd/0x570 fs/jfs/jfs_dmap.c:2857 dbJoin+0x170/0x270 fs/jfs/jfs_dmap.c:2824 dbFreeBits+0x83/0xb80 fs/jfs/jfs_dmap.c:2321 dbFreeDmap fs/jfs/jfs_dmap.c:2070 [inline] dbFree+0x2dc/0x540 fs/jfs/jfs_dmap.c:395 txFreeMap+0x6a7/0xca0 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x2d1/0x950 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x415/0x9e0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x232/0x2b0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 ================================================================================ Kernel panic - not syncing: UBSAN: panic_on_warn set ... CPU: 0 PID: 105 Comm: jfsCommit Not tainted 6.3.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x167/0x220 lib/dump_stack.c:106 panic+0x21f/0x540 kernel/panic.c:340 check_panic_on_warn+0x58/0x70 kernel/panic.c:236 ubsan_epilogue lib/ubsan.c:223 [inline] __ubsan_handle_out_of_bounds+0xf6/0x100 lib/ubsan.c:348 dbAdjTree+0x4fd/0x570 fs/jfs/jfs_dmap.c:2857 dbJoin+0x170/0x270 fs/jfs/jfs_dmap.c:2824 dbFreeBits+0x83/0xb80 fs/jfs/jfs_dmap.c:2321 dbFreeDmap fs/jfs/jfs_dmap.c:2070 [inline] dbFree+0x2dc/0x540 fs/jfs/jfs_dmap.c:395 txFreeMap+0x6a7/0xca0 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x2d1/0x950 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x415/0x9e0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x232/0x2b0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Kernel Offset: disabled Rebooting in 86400 seconds..