------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2867:24 index 83886080 is out of range for type 's8[1365]' (aka 'signed char[1365]') CPU: 0 UID: 0 PID: 109 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:455 dbJoin+0x29f/0x300 fs/jfs/jfs_dmap.c:2867 dbFreeBits+0x4e1/0xdb0 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x336/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x9e6/0xde0 fs/jfs/jfs_txnmgr.c:2517 xtTruncate+0xd38/0x2f20 fs/jfs/jfs_xtree.c:2481 jfs_free_zero_link+0x35b/0x4c0 fs/jfs/namei.c:760 jfs_evict_inode+0x363/0x440 fs/jfs/inode.c:159 evict+0x61e/0xb10 fs/inode.c:841 txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline] jfs_lazycommit+0x43d/0xaa0 fs/jfs/jfs_txnmgr.c:2735 kthread+0x389/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---[ end trace ]---