loop2: detected capacity change from 0 to 32768 ================================================================================ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2227:15 shift exponent -744642816 is negative CPU: 1 PID: 31999 Comm: syz-executor.2 Not tainted 6.1.0-rc1-next-20221021-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 ubsan_epilogue+0xb/0x50 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds.cold+0xb1/0x187 lib/ubsan.c:322 blkstol2.cold-0x5/0x26 dbAllocDmap+0x61/0x110 fs/jfs/jfs_dmap.c:2009 dbAllocDmapLev+0x158/0x2c0 fs/jfs/jfs_dmap.c:1963 dbAllocCtl+0x131/0x780 fs/jfs/jfs_dmap.c:1803 dbAllocAny+0x10e/0x1a0 fs/jfs/jfs_dmap.c:1517 dbAlloc+0x46d/0xa70 fs/jfs/jfs_dmap.c:869 ea_write+0x4ed/0xc90 fs/jfs/xattr.c:232 ea_put fs/jfs/xattr.c:610 [inline] __jfs_setxattr+0xea9/0xfc0 fs/jfs/xattr.c:783 __jfs_xattr_set+0xc9/0x150 fs/jfs/xattr.c:917 __vfs_setxattr+0x115/0x180 fs/xattr.c:182 __vfs_setxattr_noperm+0x125/0x5f0 fs/xattr.c:216 __vfs_setxattr_locked+0x1cf/0x260 fs/xattr.c:277 vfs_setxattr+0x13f/0x330 fs/xattr.c:309 setxattr+0x146/0x160 fs/xattr.c:617 path_setxattr+0x197/0x1c0 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:648 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc18ba8b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc18c811168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fc18bbabf80 RCX: 00007fc18ba8b5a9 RDX: 00000000200079c0 RSI: 0000000020004ec0 RDI: 0000000020004d40 RBP: 00007fc18bae67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fffe R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff26a0d6df R14: 00007fc18c811300 R15: 0000000000022000 ================================================================================