loop3: detected capacity change from 0 to 32768 ================================================================================ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:2248:16 index 16384 is out of range for type 's64 [128]' CPU: 1 PID: 20990 Comm: syz-executor.3 Not tainted 6.6.0-rc5-syzkaller-00267-g9a3dad63edbe #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_out_of_bounds+0x111/0x150 lib/ubsan.c:348 dbAllocBits+0x60d/0x630 fs/jfs/jfs_dmap.c:2248 dbAllocDmap+0x5c/0x100 fs/jfs/jfs_dmap.c:2025 dbAllocNear fs/jfs/jfs_dmap.c:1251 [inline] dbAlloc+0x780/0xaa0 fs/jfs/jfs_dmap.c:836 ea_write+0x51a/0xd00 fs/jfs/xattr.c:232 ea_put fs/jfs/xattr.c:610 [inline] __jfs_setxattr+0xf35/0x1050 fs/jfs/xattr.c:783 __jfs_xattr_set+0xc6/0x150 fs/jfs/xattr.c:917 __vfs_setxattr+0x173/0x1d0 fs/xattr.c:201 __vfs_setxattr_noperm+0x127/0x5e0 fs/xattr.c:235 __vfs_setxattr_locked+0x17e/0x250 fs/xattr.c:296 vfs_setxattr+0x146/0x350 fs/xattr.c:322 do_setxattr+0x142/0x170 fs/xattr.c:630 setxattr+0x159/0x170 fs/xattr.c:653 path_setxattr+0x1a3/0x1d0 fs/xattr.c:672 __do_sys_lsetxattr fs/xattr.c:695 [inline] __se_sys_lsetxattr fs/xattr.c:691 [inline] __x64_sys_lsetxattr+0xc1/0x160 fs/xattr.c:691 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7f2d27cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7f2df3a0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f7f2d39bf80 RCX: 00007f7f2d27cae9 RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000020000140 RBP: 00007f7f2d2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fffe R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7f2d39bf80 R15: 00007ffee28b82b8 ================================================================================