================================================================================
UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2867:19
index -16119285 is out of range for type 's8 [1365]'
CPU: 0 PID: 107 Comm: jfsCommit Not tainted 6.5.0-rc3-next-20230727-syzkaller-05027-g451cc82bd11e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106
ubsan_epilogue lib/ubsan.c:217 [inline]
__ubsan_handle_out_of_bounds+0x111/0x150 lib/ubsan.c:348
dbAdjTree+0x34a/0x350 fs/jfs/jfs_dmap.c:2867
dbJoin+0x1f6/0x250 fs/jfs/jfs_dmap.c:2834
dbFreeBits+0x15a/0x8e0 fs/jfs/jfs_dmap.c:2331
dbFreeDmap+0x62/0x1a0 fs/jfs/jfs_dmap.c:2080
dbFree+0x266/0x550 fs/jfs/jfs_dmap.c:402
txFreeMap+0x9a9/0xe60 fs/jfs/jfs_txnmgr.c:2534
txUpdateMap+0x3f1/0xd10 fs/jfs/jfs_txnmgr.c:2330
txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline]
jfs_lazycommit+0x5dc/0xb20 fs/jfs/jfs_txnmgr.c:2732
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
================================================================================
Kernel panic - not syncing: UBSAN: panic_on_warn set ...
CPU: 0 PID: 107 Comm: jfsCommit Not tainted 6.5.0-rc3-next-20230727-syzkaller-05027-g451cc82bd11e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
panic+0x6a4/0x750 kernel/panic.c:340
check_panic_on_warn+0xab/0xb0 kernel/panic.c:236
ubsan_epilogue lib/ubsan.c:223 [inline]
__ubsan_handle_out_of_bounds+0x139/0x150 lib/ubsan.c:348
dbAdjTree+0x34a/0x350 fs/jfs/jfs_dmap.c:2867
dbJoin+0x1f6/0x250 fs/jfs/jfs_dmap.c:2834
dbFreeBits+0x15a/0x8e0 fs/jfs/jfs_dmap.c:2331
dbFreeDmap+0x62/0x1a0 fs/jfs/jfs_dmap.c:2080
dbFree+0x266/0x550 fs/jfs/jfs_dmap.c:402
txFreeMap+0x9a9/0xe60 fs/jfs/jfs_txnmgr.c:2534
txUpdateMap+0x3f1/0xd10 fs/jfs/jfs_txnmgr.c:2330
txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline]
jfs_lazycommit+0x5dc/0xb20 fs/jfs/jfs_txnmgr.c:2732
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Kernel Offset: disabled
Rebooting in 86400 seconds..