find_entry called with index = 0 find_entry called with index = 0 ------------[ 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: 6692 Comm: syz-executor.2 Not tainted 6.9.0-rc7-syzkaller-gfda5695d692c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 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:2639 dbAllocBits+0x434/0x8d8 fs/jfs/jfs_dmap.c:2191 dbAllocDmap fs/jfs/jfs_dmap.c:2032 [inline] dbAllocNear+0x224/0x334 fs/jfs/jfs_dmap.c:1258 dbAlloc+0x8b4/0xb68 fs/jfs/jfs_dmap.c:843 extBalloc fs/jfs/jfs_extent.c:326 [inline] extAlloc+0x404/0xdec fs/jfs/jfs_extent.c:122 jfs_get_block+0x340/0xb98 fs/jfs/inode.c:248 __block_write_begin_int+0x580/0x166c fs/buffer.c:2105 __block_write_begin fs/buffer.c:2154 [inline] block_write_begin+0x98/0x11c fs/buffer.c:2213 jfs_write_begin+0x44/0x88 fs/jfs/inode.c:299 generic_perform_write+0x28c/0x588 mm/filemap.c:3974 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4069 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:4095 do_iter_readv_writev+0x438/0x658 vfs_writev+0x410/0xb58 fs/read_write.c:971 do_pwritev fs/read_write.c:1072 [inline] __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2 fs/read_write.c:1122 [inline] __arm64_sys_pwritev2+0x1dc/0x2f0 fs/read_write.c:1122 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 ---[ end trace ]---