(syz-executor879,4017,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-executor879,4017,0):ocfs2_read_locked_inode:536 ERROR: Inode 21: 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: 4017 Comm: syz-executor879 Not tainted 5.15.173-syzkaller #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+0x1c48/0x1e94 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x1c48/0x1e94 fs/ocfs2/inode.c:159 sp : ffff80001d0d6ac0 x29: ffff80001d0d6d00 x28: ffff700003a1ad60 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0001892b7a00 x24: 1ffff00003a1ad70 x23: dfff800000000000 x22: 1000000000000000 x21: ffff80001d0d6c00 x20: ffff80001d0d6c60 x19: ffff80001d0d6c20 x18: 1fffe00036831b8e x17: 1fffe00036831b8e x16: ffff8000082ec8b8 x15: ffff800014b5fa40 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 8b8348a289402600 x8 : 8b8348a289402600 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000825929c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000064 Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] ocfs2_iget+0x1c48/0x1e94 fs/ocfs2/inode.c:159 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x304/0x6b8 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2bc/0x618 fs/ocfs2/super.c:458 ocfs2_initialize_super fs/ocfs2/super.c:2276 [inline] ocfs2_fill_super+0x394c/0x498c fs/ocfs2/super.c:995 mount_bdev+0x274/0x370 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+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Code: 913e8063 aa1303e0 52804302 94052186 (d4210000) ---[ end trace c88afa54cf8fa645 ]---