option from the mount to silence this warning. ======================================================= MINIX-fs: mounting file system with errors, running fsck is recommended ------------[ cut here ]------------ UBSAN: shift-out-of-bounds in fs/minix/inode.c:399:57 shift exponent 19968 is too large for 64-bit type 'unsigned long' CPU: 0 UID: 0 PID: 5310 Comm: syz-executor287 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [inline] __ubsan_handle_shift_out_of_bounds+0x3c8/0x420 lib/ubsan.c:468 minix_statfs+0x36d/0x380 fs/minix/inode.c:399 statfs_by_dentry fs/statfs.c:66 [inline] vfs_statfs+0x13b/0x2c0 fs/statfs.c:90 ovl_check_namelen fs/overlayfs/super.c:369 [inline] ovl_lower_dir fs/overlayfs/super.c:385 [inline] ovl_get_lowerstack fs/overlayfs/super.c:1126 [inline] ovl_fill_super+0x8ed/0x3560 fs/overlayfs/super.c:1386 vfs_get_super fs/super.c:1280 [inline] get_tree_nodev+0xb7/0x140 fs/super.c:1299 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fac83586ad9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc177b9c98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fac83586ad9 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007fac835fa5f0 R08: 0000000020000000 R09: 00005555714ed4c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc177b9cc0 R13: 00007ffc177b9ee8 R14: 431bde82d7b634db R15: 00007fac835cf03b ---[ end trace ]---