(syz.2.142,7411,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.142,7411,1):ocfs2_read_locked_inode:612 ERROR: Inode 28: 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: 7411 Comm: syz.2.142 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/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 : ffff8000a6d46b00 x29: ffff8000a6d46d40 x28: dfff800000000000 x27: ffff80008f57e768 x26: ffff700014da8d68 x25: ffff8000a6d46b40 x24: ffff0000f7f6182c x23: ffff0000f7f61800 x22: 0000000000000001 x21: ffff8000a6d46b40 x20: 1000000000000000 x19: ffff80008ee71e38 x18: 1fffe000337dfe90 x17: 203a38322065646f x16: ffff800082debec8 x15: 0000000000000001 x14: 1ffff00014da8cb4 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000c5e x10: 0000000000ff0100 x9 : 7b121f6b48313400 x8 : 7b121f6b48313400 x7 : ffff8000805653c0 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807d6834 x2 : 0000000000000002 x1 : 0000000100000000 x0 : 000000000000005e 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+0x2a8/0x5e8 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:491 [inline] ocfs2_mount_volume fs/ocfs2/super.c:1756 [inline] ocfs2_fill_super+0x3194/0x532c fs/ocfs2/super.c:1083 get_tree_bdev_flags+0x360/0x414 fs/super.c:1691 get_tree_bdev+0x2c/0x3c fs/super.c:1714 ocfs2_get_tree+0x28/0x38 fs/ocfs2/super.c:1184 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3727 path_mount+0x5b4/0xdfc fs/namespace.c:4037 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount fs/namespace.c:4215 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4215 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x254 arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: aa1303e1 52804c82 f900b3f4 9404959d (d4210000) ---[ end trace 0000000000000000 ]---