(syz.4.156,7376,0):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.4.156,7376,0):ocfs2_read_locked_inode:536 ERROR: Inode 68: 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: 7376 Comm: syz.4.156 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 : ffff8000a10e6ac0 x29: ffff8000a10e6d00 x28: ffff70001421cd60 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000f4488800 x24: 1ffff0001421cd70 x23: dfff800000000000 x22: 1000000000000000 x21: ffff8000a10e6c00 x20: ffff8000a10e6c60 x19: ffff8000a10e6c20 x18: 0000000000000008 x17: 203a38362065646f x16: ffff8000831615b0 x15: 0000000000000001 x14: 1fffe000366c38e2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 27b46a5cb2429200 x8 : 27b46a5cb2429200 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a10e60d8 x4 : ffff80008f9bd220 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_global_system_inodes+0x2bc/0x618 fs/ocfs2/super.c:457 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 ]---