loop1: detected capacity change from 0 to 32768 ================================================================================ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2621:11 shift exponent 130 is too large for 32-bit type 'int' CPU: 1 PID: 24666 Comm: syz-executor.1 Not tainted 6.2.0-next-20230223-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106 ubsan_epilogue lib/ubsan.c:217 [inline] __ubsan_handle_shift_out_of_bounds+0x221/0x5a0 lib/ubsan.c:387 dbSplit.cold+0x19/0x1e fs/jfs/jfs_dmap.c:2621 dbAllocBits+0x151/0x630 fs/jfs/jfs_dmap.c:2173 dbAllocDmap+0x61/0x110 fs/jfs/jfs_dmap.c:2014 dbAllocNear fs/jfs/jfs_dmap.c:1243 [inline] dbAlloc+0x78e/0xab0 fs/jfs/jfs_dmap.c:828 ea_write+0x500/0xca0 fs/jfs/xattr.c:232 ea_put fs/jfs/xattr.c:610 [inline] __jfs_setxattr+0xef4/0x1010 fs/jfs/xattr.c:783 __jfs_xattr_set+0xc9/0x150 fs/jfs/xattr.c:917 __vfs_setxattr+0x173/0x1e0 fs/xattr.c:203 __vfs_setxattr_noperm+0x129/0x5f0 fs/xattr.c:237 __vfs_setxattr_locked+0x1d3/0x260 fs/xattr.c:298 vfs_setxattr+0x143/0x340 fs/xattr.c:324 do_setxattr+0x147/0x190 fs/xattr.c:609 setxattr+0x146/0x160 fs/xattr.c:632 path_setxattr+0x197/0x1c0 fs/xattr.c:651 __do_sys_setxattr fs/xattr.c:667 [inline] __se_sys_setxattr fs/xattr.c:663 [inline] __x64_sys_setxattr+0xc4/0x160 fs/xattr.c:663 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5e1748c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5e18158168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f5e175abf80 RCX: 00007f5e1748c0f9 RDX: 00000000200005c0 RSI: 00000000200000c0 RDI: 0000000020000000 RBP: 00007f5e174e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000c001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffebf9c721f R14: 00007f5e18158300 R15: 0000000000022000 ================================================================================