(syz.0.15,6551,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.15,6551,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 UID: 0 PID: 6551 Comm: syz.0.15 Not tainted 6.12.0-syzkaller-09073-g9f16d5e6f220 #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 : ffff80009e2a6ac0 x29: ffff80009e2a6d00 x28: ffff700013c54d60 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000ecf26a00 x24: 1ffff00013c54d70 x23: dfff800000000000 x22: 1000000000000000 x21: ffff80009e2a6c00 x20: ffff80009e2a6c60 x19: ffff80009e2a6c20 x18: 0000000000000008 x17: 73203a3132206564 x16: ffff80008a435a20 x15: 0000000000000001 x14: 1fffe000367decea x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000001 x10: 0000000000ff0100 x9 : 2d75485055165300 x8 : 2d75485055165300 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009e2a60d8 x4 : ffff80008dccd5c0 x3 : ffff80008062f434 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005d 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: 910e0063 aa1303e0 52804302 94051c0f (d4210000) ---[ end trace 0000000000000000 ]---