loop0: detected capacity change from 0 to 32768 ================================================================================ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2217:15 shift exponent -744642816 is negative CPU: 0 PID: 11369 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #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+0x1e3/0x2cb lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_shift_out_of_bounds+0x3a6/0x420 lib/ubsan.c:322 dbAllocBits+0x948/0x990 fs/jfs/jfs_dmap.c:2217 dbAllocDmap fs/jfs/jfs_dmap.c:1999 [inline] dbAllocDmapLev+0x239/0x430 fs/jfs/jfs_dmap.c:1953 dbAllocCtl+0x113/0x970 fs/jfs/jfs_dmap.c:1793 dbAllocAny fs/jfs/jfs_dmap.c:1507 [inline] dbAlloc+0x5ae/0xc90 fs/jfs/jfs_dmap.c:732 ea_get+0x92c/0x1280 fs/jfs/xattr.c:514 __jfs_setxattr+0x505/0x1250 fs/jfs/xattr.c:718 __jfs_xattr_set+0xfb/0x180 fs/jfs/xattr.c:917 __vfs_setxattr+0x3f4/0x430 fs/xattr.c:182 __vfs_setxattr_noperm+0x128/0x5d0 fs/xattr.c:216 vfs_setxattr+0x228/0x450 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr fs/xattr.c:617 [inline] path_setxattr+0x3b0/0x4b0 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc47708b5a9 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:00007fc477d83168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007fc4771abf80 RCX: 00007fc47708b5a9 RDX: 0000000000000000 RSI: 0000000020004f40 RDI: 0000000020004f00 RBP: 00007fc4770e67b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf433e87f R14: 00007fc477d83300 R15: 0000000000022000 ================================================================================