(syz.0.16,4864,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.0.16,4864,0):ocfs2_read_locked_inode:536 ERROR: Inode 76: 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: 4864 Comm: syz.0.16 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] pc : ocfs2_iget+0x162c/0x1798 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x162c/0x1798 fs/ocfs2/inode.c:159 sp : ffff80001f2d6aa0 x29: ffff80001f2d6cc0 x28: 0000000000000000 x27: dfff800000000000 x26: ffff80001f2d6ac0 x25: ffff700003e5ad58 x24: ffff0000ced8c000 x23: ffff0000e664382c x22: ffff0000e6643800 x21: 0000000000000001 x20: 1000000000000000 x19: ffff800013b1dfd3 x18: 1fffe0003421d38e x17: 1fffe0003421d38e x16: ffff8000111a97c4 x15: ffff8000141fec20 x14: ffff0001a10e9c80 x13: 1ffff0000282c06b x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : 2a1b79d2a5c39700 x8 : 2a1b79d2a5c39700 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a732684 x2 : ffff0001a10e9d10 x1 : 0000000100000000 x0 : 000000000000005d Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] ocfs2_iget+0x162c/0x1798 fs/ocfs2/inode.c:159 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x2b0/0x5ec fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:488 [inline] ocfs2_mount_volume+0x29c/0x1174 fs/ocfs2/super.c:1816 ocfs2_fill_super+0x238c/0x4074 fs/ocfs2/super.c:1083 mount_bdev+0x264/0x358 fs/super.c:1400 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1187 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x228/0x810 fs/namespace.c:3010 path_mount+0x5b4/0x1000 fs/namespace.c:3340 do_mount fs/namespace.c:3353 [inline] __do_sys_mount fs/namespace.c:3561 [inline] __se_sys_mount fs/namespace.c:3538 [inline] __arm64_sys_mount+0x514/0x5e4 fs/namespace.c:3538 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: aa1303e1 52804302 f900a3f4 940494a5 (d4210000) ---[ end trace 245038613d823648 ]---