loop0: detected capacity change from 0 to 32768 ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2641:11 shift exponent 80 is too large for 32-bit type 'int' CPU: 1 UID: 0 PID: 6740 Comm: syz-executor.0 Not tainted 6.12.0-rc3-syzkaller-g3d363ba041e1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:319 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:326 __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_shift_out_of_bounds+0x2f4/0x36c lib/ubsan.c:468 dbSplit+0x1d4/0x1d8 fs/jfs/jfs_dmap.c:2641 dbAllocBits+0x440/0x8e4 fs/jfs/jfs_dmap.c:2193 dbAllocDmap fs/jfs/jfs_dmap.c:2034 [inline] dbAllocDmapLev+0x1d4/0x414 fs/jfs/jfs_dmap.c:1988 dbAllocCtl+0x104/0x844 fs/jfs/jfs_dmap.c:1825 dbAllocAG+0x208/0xe4c fs/jfs/jfs_dmap.c:1364 dbAlloc+0x520/0xb68 fs/jfs/jfs_dmap.c:888 dtSplitUp fs/jfs/jfs_dtree.c:981 [inline] dtInsert+0xb18/0x573c fs/jfs/jfs_dtree.c:870 jfs_symlink+0x71c/0xee4 fs/jfs/namei.c:1020 vfs_symlink+0x138/0x28c fs/namei.c:4615 do_symlinkat+0x1bc/0x45c fs/namei.c:4641 __do_sys_symlinkat fs/namei.c:4657 [inline] __se_sys_symlinkat fs/namei.c:4654 [inline] __arm64_sys_symlinkat+0x9c/0xb4 fs/namei.c:4654 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:732 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:750 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]--- find_entry called with index >= next_index find_entry called with index >= next_index find_entry called with index >= next_index