------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2260:2 index 402653184 is out of range for type 's64[128]' (aka 'long long[128]') CPU: 1 UID: 0 PID: 10926 Comm: syz.1.661 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_out_of_bounds+0x121/0x150 lib/ubsan.c:429 dbAllocBits+0x95f/0x990 fs/jfs/jfs_dmap.c:2260 dbAllocDmap fs/jfs/jfs_dmap.c:2037 [inline] dbAllocNear+0x264/0x390 fs/jfs/jfs_dmap.c:1258 dbAlloc+0xa27/0xca0 fs/jfs/jfs_dmap.c:843 ea_write+0x3a9/0xe60 fs/jfs/xattr.c:232 ea_put fs/jfs/xattr.c:614 [inline] __jfs_setxattr+0xa39/0x1190 fs/jfs/xattr.c:787 __jfs_xattr_set+0xf9/0x180 fs/jfs/xattr.c:936 __vfs_setxattr+0x468/0x4a0 fs/xattr.c:200 __vfs_setxattr_noperm+0x12e/0x660 fs/xattr.c:234 vfs_setxattr+0x221/0x430 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x2af/0x430 fs/xattr.c:665 path_setxattrat+0x440/0x510 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0xbf/0xe0 fs/xattr.c:750 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4988785d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f49894fe038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f4988975fa0 RCX: 00007f4988785d29 RDX: 0000000020000100 RSI: 00000000200000c0 RDI: 0000000020000180 RBP: 00007f4988801b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001001 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4988975fa0 R15: 00007fff19004e28 ---[ end trace ]---