loop2: detected capacity change from 0 to 32768 ================================================================================ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:1430:9 shift exponent -335544310 is negative CPU: 1 PID: 5540 Comm: syz.2.16 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0xdd/0x14c lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_shift_out_of_bounds+0x234/0x24d lib/ubsan.c:327 dbAllocAG.cold+0xac/0xcd fs/jfs/jfs_dmap.c:1430 dbDiscardAG+0x18b/0x4b0 fs/jfs/jfs_dmap.c:1643 jfs_ioc_trim+0x19f/0x230 fs/jfs/jfs_discard.c:100 jfs_ioctl+0x14f/0x1b0 fs/jfs/ioctl.c:132 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0xff/0x140 fs/ioctl.c:1055 do_syscall_64+0x41/0x80 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f97151a0169 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9714c12038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f97153b8fa0 RCX: 00007f97151a0169 RDX: 0000400000000080 RSI: 00000000c0185879 RDI: 0000000000000004 RBP: 00007f97152212a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f97153b8fa0 R15: 00007ffde9925768 ================================================================================