(syz.0.15,6970,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.15,6970,1):ocfs2_read_locked_inode:536 ERROR: Inode 66: 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: 6970 Comm: syz.0.15 Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #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+0x1c84/0x1ed0 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x1c84/0x1ed0 fs/ocfs2/inode.c:159 sp : ffff80009c656c20 x29: ffff80009c656e80 x28: dfff800000000000 x27: ffff7000138cad90 x26: ffff0000ecd64400 x25: ffff80009c656d00 x24: 1ffff000138cadbc x23: dfff800000000000 x22: 1000000000000000 x21: ffff80009c656de0 x20: ffff80009c656d80 x19: ffff80009c656da0 x18: 1fffe0003675e87e x17: ffff80008e8dd000 x16: ffff80008acb6afc x15: 0000000000000001 x14: 1fffe0003675e8ea x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : eba49f2db78b2f00 x8 : eba49f2db78b2f00 x7 : ffff8000803b4a74 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008071b14c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005d Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] (P) ocfs2_iget+0x1c84/0x1ed0 fs/ocfs2/inode.c:159 (P) ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] (L) ocfs2_iget+0x1c84/0x1ed0 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/0x48d0 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: 91200063 aa1303e0 52804302 94051f84 (d4210000) ---[ end trace 0000000000000000 ]---