ERROR: (device loop3): dbUpdatePMap: blocks are outside the map ================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:628:10 index 237 is out of range for type 'struct dtslot[128]' CPU: 0 PID: 4701 Comm: syz.3.48 Not tainted 6.1.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0x118/0x140 lib/ubsan.c:282 dtSearch+0x1bda/0x2500 fs/jfs/jfs_dtree.c:628 jfs_mkdir+0x316/0xbb0 fs/jfs/namei.c:246 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106 do_mkdirat+0x225/0x360 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f9c3a784597 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9c3b69ce68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f9c3b69cef0 RCX: 00007f9c3a784597 RDX: 00000000000001ff RSI: 0000000020000680 RDI: 00000000ffffff9c RBP: 0000000020000080 R08: 0000000020000d40 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000020000680 R13: 00007f9c3b69ceb0 R14: 0000000000000000 R15: 0000000000000000 ================================================================================