------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:2639:11 shift exponent 80 is too large for 32-bit type 'int' CPU: 0 PID: 9557 Comm: syz-executor.1 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:114 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_shift_out_of_bounds+0x2a5/0x480 lib/ubsan.c:468 dbSplit.cold+0x19/0x1e fs/jfs/jfs_dmap.c:2639 dbAllocBits+0x149/0x630 fs/jfs/jfs_dmap.c:2191 dbAllocDmap+0x5c/0x110 fs/jfs/jfs_dmap.c:2032 dbAllocNear fs/jfs/jfs_dmap.c:1258 [inline] dbAlloc+0x784/0xab0 fs/jfs/jfs_dmap.c:843 extBalloc fs/jfs/jfs_extent.c:326 [inline] extAlloc+0x50a/0xf00 fs/jfs/jfs_extent.c:122 jfs_get_block+0x42c/0xb20 fs/jfs/inode.c:248 __block_write_begin_int+0x4fb/0x16e0 fs/buffer.c:2105 __block_write_begin fs/buffer.c:2154 [inline] block_write_begin+0xb1/0x4a0 fs/buffer.c:2213 jfs_write_begin+0x31/0xe0 fs/jfs/inode.c:299 generic_perform_write+0x272/0x620 mm/filemap.c:3974 __generic_file_write_iter+0x1fd/0x240 mm/filemap.c:4069 generic_file_write_iter+0xe7/0x350 mm/filemap.c:4095 call_write_iter include/linux/fs.h:2110 [inline] aio_write+0x3bc/0x8d0 fs/aio.c:1639 __io_submit_one fs/aio.c:2011 [inline] io_submit_one+0x11b6/0x1df0 fs/aio.c:2058 __do_sys_io_submit fs/aio.c:2117 [inline] __se_sys_io_submit fs/aio.c:2087 [inline] __x64_sys_io_submit+0x19d/0x330 fs/aio.c:2087 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f25ee67dea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f25ef3f60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 00007f25ee7abf80 RCX: 00007f25ee67dea9 RDX: 0000000020000540 RSI: 0000000000000008 RDI: 00007f25ef3cd000 RBP: 00007f25ee6ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f25ee7abf80 R15: 00007fffd74e9968 ---[ end trace ]---