(syz.6.229,8273,1):ocfs2_read_locked_inode:536 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.6.229,8273,1):ocfs2_read_locked_inode:536 ERROR: Inode 18: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:536! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 UID: 0 PID: 8273 Comm: syz.6.229 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] pc : ocfs2_iget+0x1cc8/0x1f14 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x1cc8/0x1f14 fs/ocfs2/inode.c:159 sp : ffff80009c6d6c40 x29: ffff80009c6d6e80 x28: ffff7000138dad90 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000dd7d3400 x24: 1ffff000138dada0 x23: dfff800000000000 x22: 1000000000000000 x21: ffff80009c6d6d80 x20: ffff80009c6d6de0 x19: ffff80009c6d6da0 x18: 0000000000000008 x17: 203a38312065646f x16: ffff800080355c58 x15: 0000000000000001 x14: 1fffe000366cab20 x13: ffff80009c6d8000 x12: 0000000000000003 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 7586a1a0ef2d1c00 x8 : 7586a1a0ef2d1c00 x7 : ffff80008b6227cc x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000100000000 x0 : 000000000000005e Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] (P) ocfs2_iget+0x1cc8/0x1f14 fs/ocfs2/inode.c:159 (P) ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] (L) ocfs2_iget+0x1cc8/0x1f14 fs/ocfs2/inode.c:159 (L) ocfs2_init_global_system_inodes+0x160/0x618 fs/ocfs2/super.c:445 ocfs2_initialize_super fs/ocfs2/super.c:2248 [inline] ocfs2_fill_super+0x2738/0x48e8 fs/ocfs2/super.c:994 mount_bdev+0x1d4/0x2a0 fs/super.c:1693 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1188 legacy_get_tree+0xd4/0x16c fs/fs_context.c:662 vfs_get_tree+0x90/0x28c fs/super.c:1814 do_new_mount+0x278/0x900 fs/namespace.c:3507 path_mount+0x590/0xe04 fs/namespace.c:3834 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount fs/namespace.c:4034 [inline] __arm64_sys_mount+0x4d4/0x5ac fs/namespace.c:4034 __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+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Code: 91050063 aa1303e0 52804302 940518c5 (d4210000) ---[ end trace 0000000000000000 ]---