loop4: detected capacity change from 0 to 32768 ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2257:2 index 536870912 is out of range for type 's64[128]' (aka 'long long[128]') CPU: 1 UID: 0 PID: 7501 Comm: syz.4.148 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue+0x14/0x48 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xd0/0xfc lib/ubsan.c:455 dbAllocBits+0x87c/0x8c4 fs/jfs/jfs_dmap.c:2257 dbAllocDmap fs/jfs/jfs_dmap.c:2034 [inline] dbAllocNear+0x25c/0x350 fs/jfs/jfs_dmap.c:1247 dbAlloc+0x72c/0x9dc fs/jfs/jfs_dmap.c:832 diNewExt+0x768/0x253c fs/jfs/jfs_imap.c:2261 diAllocExt fs/jfs/jfs_imap.c:1952 [inline] diAllocAG+0x9bc/0x1a84 fs/jfs/jfs_imap.c:1669 diAlloc+0x17c/0x1630 fs/jfs/jfs_imap.c:1590 ialloc+0x80/0x78c fs/jfs/jfs_inode.c:56 jfs_mkdir+0x170/0x8b4 fs/jfs/namei.c:225 vfs_mkdir+0x284/0x424 fs/namei.c:4366 do_mkdirat+0x1f8/0x4c8 fs/namei.c:4399 __do_sys_mkdirat fs/namei.c:4416 [inline] __se_sys_mkdirat fs/namei.c:4414 [inline] __arm64_sys_mkdirat+0x8c/0xa4 fs/namei.c:4414 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:763 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 ---[ end trace ]--- jfs_rmdir: dtDelete returned -2 pimreg: entered allmulticast mode