------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/minix/inode.c:399:57 shift exponent 1280 is too large for 64-bit type 'unsigned long' CPU: 1 UID: 0 PID: 12540 Comm: syz.7.704 Not tainted 6.15.0-rc5-syzkaller-00022-g01f95500a162 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x40 lib/ubsan.c:231 __ubsan_handle_shift_out_of_bounds+0x386/0x410 lib/ubsan.c:492 minix_statfs+0x31c/0x340 fs/minix/inode.c:399 statfs_by_dentry fs/statfs.c:66 [inline] vfs_statfs+0x144/0x2d0 fs/statfs.c:90 ovl_check_namelen fs/overlayfs/super.c:388 [inline] ovl_lower_dir fs/overlayfs/super.c:404 [inline] ovl_get_lowerstack fs/overlayfs/super.c:1150 [inline] ovl_fill_super+0x9d9/0x35d0 fs/overlayfs/super.c:1416 vfs_get_super fs/super.c:1280 [inline] get_tree_nodev+0xb8/0x150 fs/super.c:1299 vfs_get_tree+0x8f/0x2b0 fs/super.c:1759 do_new_mount+0x24a/0xa40 fs/namespace.c:3884 do_mount fs/namespace.c:4224 [inline] __do_sys_mount fs/namespace.c:4435 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4412 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa74038e969 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:00007fa741152038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa7405b6160 RCX: 00007fa74038e969 RDX: 00002000000000c0 RSI: 0000200000000140 RDI: 0000000000000000 RBP: 00007fa740410ab1 R08: 00002000000011c0 R09: 0000000000000000 R10: 000000000320c401 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa7405b6160 R15: 00007ffcac6fd798 ---[ end trace ]---