================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2841:6 index 262145 is out of range for type 's8 [1365]' CPU: 0 PID: 122 Comm: jfsCommit Not tainted 6.0.0-rc6-syzkaller-00291-g3db61221f4e8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0xdb/0x130 lib/ubsan.c:283 dbAdjTree+0x478/0x500 fs/jfs/jfs_dmap.c:2841 dbJoin+0x231/0x2f0 fs/jfs/jfs_dmap.c:2808 dbFreeBits+0x50d/0xd40 fs/jfs/jfs_dmap.c:2305 dbFreeDmap fs/jfs/jfs_dmap.c:2054 [inline] dbFree+0x35e/0x660 fs/jfs/jfs_dmap.c:379 txFreeMap+0x79d/0xd70 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x370/0xaa0 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x433/0xba0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ================================================================================ Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 122 Comm: jfsCommit Not tainted 6.0.0-rc6-syzkaller-00291-g3db61221f4e8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 panic+0x2d6/0x715 kernel/panic.c:274 ubsan_epilogue lib/ubsan.c:158 [inline] __ubsan_handle_out_of_bounds+0x121/0x130 lib/ubsan.c:283 dbAdjTree+0x478/0x500 fs/jfs/jfs_dmap.c:2841 dbJoin+0x231/0x2f0 fs/jfs/jfs_dmap.c:2808 dbFreeBits+0x50d/0xd40 fs/jfs/jfs_dmap.c:2305 dbFreeDmap fs/jfs/jfs_dmap.c:2054 [inline] dbFree+0x35e/0x660 fs/jfs/jfs_dmap.c:379 txFreeMap+0x79d/0xd70 fs/jfs/jfs_txnmgr.c:2529 txUpdateMap+0x370/0xaa0 txLazyCommit fs/jfs/jfs_txnmgr.c:2659 [inline] jfs_lazycommit+0x433/0xba0 fs/jfs/jfs_txnmgr.c:2727 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Kernel Offset: disabled Rebooting in 86400 seconds..