(syz.0.274,8097,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.0.274,8097,0):ocfs2_read_locked_inode:536 ERROR: Inode 77: 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: 0 UID: 0 PID: 8097 Comm: syz.0.274 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 : ffff8000a0146860 x29: ffff8000a0146aa0 x28: ffff700014028d14 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000f6ac8a00 x24: 1ffff00014028d24 x23: dfff800000000000 x22: 1000000000000000 x21: ffff8000a01469a0 x20: ffff8000a0146a00 x19: ffff8000a01469c0 x18: 1fffe000366c3876 x17: ffff80008f8cd000 x16: ffff8000831615b0 x15: 0000000000000001 x14: 1fffe000366c38e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000018bd6 x9 : c821682c0dc29800 x8 : c821682c0dc29800 x7 : ffff8000802c419c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080626d8c x2 : 0000000000000001 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_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x31c/0x6d8 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:487 [inline] ocfs2_mount_volume+0x30c/0x1508 fs/ocfs2/super.c:1811 ocfs2_fill_super+0x39d8/0x48e8 fs/ocfs2/super.c:1084 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 ]---