gfs2: fsid=syz:syz.s: journal 0 mapped with 5 extents in 0ms gfs2: fsid=syz:syz.s: first mount done, others may mount ================================================================================ UBSAN: shift-out-of-bounds in fs/gfs2/dir.c:1541:15 shift exponent 32 is too large for 32-bit type 'u32' (aka 'unsigned int') CPU: 1 PID: 6862 Comm: syz.2.719 Not tainted 6.1.146-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 ubsan_epilogue+0xa/0x30 lib/ubsan.c:151 __ubsan_handle_shift_out_of_bounds+0x37c/0x400 lib/ubsan.c:321 dir_e_read fs/gfs2/dir.c:1541 [inline] gfs2_dir_read+0x1737/0x1780 fs/gfs2/dir.c:1582 gfs2_readdir+0x14c/0x1b0 fs/gfs2/file.c:115 iterate_dir+0x218/0x560 fs/readdir.c:-1 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0xe5/0x260 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2cfd38e9a9 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:00007f2cfe2ec038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f2cfd5b5fa0 RCX: 00007f2cfd38e9a9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f2cfd410ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2cfd5b5fa0 R15: 00007ffef10c3d28 ================================================================================