(syz.6.212,5763,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.6.212,5763,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 PID: 5763 Comm: syz.6.212 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] pc : ocfs2_iget+0x178c/0x1998 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x178c/0x1998 fs/ocfs2/inode.c:159 sp : ffff8000211a6ce0 x29: ffff8000211a6f00 x28: 0000000000000000 x27: dfff800000000000 x26: ffff8000211a6d00 x25: ffff700004234da0 x24: ffff0000d9558000 x23: ffff0000ff43e82c x22: ffff0000ff43e800 x21: 0000000000000001 x20: 1000000000000000 x19: ffff800014aacbbc x18: ffff800011abbcc0 x17: 203a38362065646f x16: ffff8000082d22d4 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 0000000000016795 x10: ffff80002a162000 x9 : 7ad1d73b1c4b3500 x8 : 7ad1d73b1c4b3500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000211a6678 x4 : ffff8000151a4820 x3 : ffff80000852e3b0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005e Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] ocfs2_iget+0x178c/0x1998 fs/ocfs2/inode.c:159 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x2e0/0x644 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2a8/0x594 fs/ocfs2/super.c:457 ocfs2_initialize_super fs/ocfs2/super.c:2253 [inline] ocfs2_fill_super+0x210c/0x3e98 fs/ocfs2/super.c:994 mount_bdev+0x264/0x358 fs/super.c:1443 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x228/0x810 fs/namespace.c:3069 path_mount+0x5b4/0xe78 fs/namespace.c:3399 do_mount fs/namespace.c:3412 [inline] __do_sys_mount fs/namespace.c:3620 [inline] __se_sys_mount fs/namespace.c:3597 [inline] __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3597 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: aa1303e1 52804302 f900a3f4 940496ca (d4210000) ---[ end trace 0000000000000000 ]---