------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2867:24 index 184486409 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+0xcc4/0xd60 fs/jfs/jfs_dmap.c:2867 dbFreeBits+0x4a2/0xd70 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x324/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x7ff/0xde0 fs/jfs/jfs_txnmgr.c:2536 txUpdateMap+0x32d/0x9f0 fs/jfs/jfs_txnmgr.c:-1 txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline] jfs_lazycommit+0x44c/0xac0 fs/jfs/jfs_txnmgr.c:2735 kthread+0x388/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 ]---