(syz.4.442,8315,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.4.442,8315,1):ocfs2_read_locked_inode:550 ERROR: Inode 66: 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: 1 UID: 0 PID: 8315 Comm: syz.4.442 Not tainted 6.16.0-rc1-syzkaller-g39dfc971e42d #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 : ffff80009cf76c00 x29: ffff80009cf76e40 x28: dfff800000000000 x27: ffff80008f62e768 x26: ffff7000139eed88 x25: ffff80009cf76c40 x24: ffff0000fe96c42c x23: ffff0000fe96c400 x22: 0000000000000001 x21: ffff80009cf76c40 x20: 1000000000000000 x19: ffff80008eef1777 x18: 1fffe000337dc876 x17: 203a36362065646f x16: ffff80008aec8e2c x15: 0000000000000001 x14: 1fffe000337e14e2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000337e14e3 x10: 0000000000ff0100 x9 : 97852e6cad762f00 x8 : 97852e6cad762f00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009cf76458 x4 : ffff80008f727060 x3 : ffff8000807c0518 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005e Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:547 [inline] (P) ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:159 (P) ocfs2_init_global_system_inodes+0x15c/0x594 fs/ocfs2/super.c:449 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline] ocfs2_fill_super+0x223c/0x5340 fs/ocfs2/super.c:993 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 ]---