(syz.7.444,9192,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.7.444,9192,0):ocfs2_read_locked_inode:550 ERROR: Inode 69: 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: 9192 Comm: syz.7.444 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 : ffff80009d5a6a80 x29: ffff80009d5a6cc0 x28: dfff800000000000 x27: ffff80008f62e768 x26: ffff700013ab4d58 x25: ffff80009d5a6ac0 x24: ffff0000e3239a2c x23: ffff0000e3239a00 x22: 0000000000000001 x21: ffff80009d5a6ac0 x20: 1000000000000000 x19: ffff80008eef1777 x18: 00000000ffffffff x17: 203a39362065646f x16: ffff80008aec8e2c x15: 0000000000000001 x14: 1fffe000337dc8e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000010e6f x9 : 4f1d54d480edfe00 x8 : 4f1d54d480edfe00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009d5a62d8 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_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x2e0/0x650 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2a8/0x594 fs/ocfs2/super.c:461 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 ]---