(syz.2.83,7143,1):ocfs2_read_locked_inode:612 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.2.83,7143,1):ocfs2_read_locked_inode:612 ERROR: Inode 71: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:612! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7143 Comm: syz.2.83 Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] pc : ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:157 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] lr : ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:157 sp : ffff8000a2266a00 x29: ffff8000a2266c40 x28: dfff800000000000 x27: ffff80008f7be768 x26: ffff70001444cd48 x25: ffff8000a2266a40 x24: ffff00010409de2c x23: ffff00010409de00 x22: 0000000000000041 x21: ffff8000a2266a40 x20: 1000000000000000 x19: ffff80008f0a9aae x18: 0000000000000000 x17: 73203a3137206564 x16: ffff80008b007230 x15: 0000000000000001 x14: 1fffe000337a06f2 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000001302a x9 : c9413e84b4ccc300 x8 : c9413e84b4ccc300 x7 : ffff800080563af4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807de334 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005d Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] (P) ocfs2_iget+0x167c/0x17e8 fs/ocfs2/inode.c:157 (P) _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x2e0/0x650 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2a8/0x594 fs/ocfs2/super.c:461 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline] ocfs2_fill_super+0x2228/0x532c fs/ocfs2/super.c:993 get_tree_bdev_flags+0x360/0x414 fs/super.c:1692 get_tree_bdev+0x2c/0x3c fs/super.c:1715 ocfs2_get_tree+0x28/0x38 fs/ocfs2/super.c:1184 vfs_get_tree+0x90/0x28c fs/super.c:1815 do_new_mount+0x278/0x7f4 fs/namespace.c:3805 path_mount+0x5b4/0xde0 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount fs/namespace.c:4321 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4321 __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+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1303e1 52804c82 f900b3f4 9404964d (d4210000) ---[ end trace 0000000000000000 ]---