(syz.2.46,6803,0):ocfs2_read_locked_inode:550 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.2.46,6803,0):ocfs2_read_locked_inode:550 ERROR: Inode 72: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:550! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 6803 Comm: syz.2.46 Not tainted 6.16.0-rc2-syzkaller-g9aa9b43d689e #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] pc : ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] lr : ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:159 sp : ffff80009c146be0 x29: ffff80009c146e20 x28: dfff800000000000 x27: ffff80008f62e768 x26: ffff700013828d84 x25: ffff80009c146c20 x24: ffff0000e395602c x23: ffff0000e3956000 x22: 0000000000000001 x21: ffff80009c146c20 x20: 1000000000000000 x19: ffff80008eef2d03 x18: 00000000ffffffff x17: 73203a3237206564 x16: ffff80008aecb65c x15: 0000000000000001 x14: 1fffe000337dc8e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000020b27 x9 : cfdceee60cf68400 x8 : cfdceee60cf68400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009c146438 x4 : ffff80008f727060 x3 : ffff8000807bef2c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005d Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] (P) ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:159 (P) _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x2e0/0x650 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:491 [inline] ocfs2_mount_volume fs/ocfs2/super.c:1756 [inline] ocfs2_fill_super+0x31a8/0x5340 fs/ocfs2/super.c:1083 get_tree_bdev_flags+0x360/0x414 fs/super.c:1679 get_tree_bdev+0x2c/0x3c fs/super.c:1702 ocfs2_get_tree+0x28/0x38 fs/ocfs2/super.c:1184 vfs_get_tree+0x90/0x28c fs/super.c:1802 do_new_mount+0x228/0x814 fs/namespace.c:3885 path_mount+0x5b4/0xde0 fs/namespace.c:4209 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount fs/namespace.c:4410 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4410 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: aa1303e1 528044c2 f900b3f4 9404942a (d4210000) ---[ end trace 0000000000000000 ]---