(syz.3.16,4424,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.3.16,4424,1):ocfs2_read_locked_inode:536 ERROR: Inode 25: 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: 1 PID: 4424 Comm: syz.3.16 Tainted: G W 6.1.122-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+0x1de4/0x20d0 fs/ocfs2/inode.c:159 lr : ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] lr : ocfs2_iget+0x1de4/0x20d0 fs/ocfs2/inode.c:159 sp : ffff8000212968c0 x29: ffff800021296b00 x28: ffff700004252d20 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000f94c1200 x24: 1ffff00004252d30 x23: dfff800000000000 x22: 1000000000000000 x21: ffff800021296a00 x20: ffff800021296a60 x19: ffff800021296a20 x18: 1fffe000367a0176 x17: 73203a3532206564 x16: ffff800012330d74 x15: 0000000000000002 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000080000 x11: 000000000005aa25 x10: ffff800027a9a000 x9 : 5382c6d1fce55600 x8 : 5382c6d1fce55600 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800021296098 x4 : ffff800015b731e0 x3 : ffff800008586b18 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000005d Call trace: ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] ocfs2_iget+0x1de4/0x20d0 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_local_system_inodes fs/ocfs2/super.c:487 [inline] ocfs2_mount_volume+0x30c/0x1508 fs/ocfs2/super.c:1813 ocfs2_fill_super+0x30bc/0x48c4 fs/ocfs2/super.c:1082 mount_bdev+0x274/0x370 fs/super.c:1443 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632 vfs_get_tree+0x90/0x274 fs/super.c:1573 do_new_mount+0x278/0x8fc fs/namespace.c:3056 path_mount+0x590/0xe5c fs/namespace.c:3386 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount fs/namespace.c:3584 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3584 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Code: 910d8063 aa1303e0 52804302 940523f1 (d4210000) ---[ end trace 0000000000000000 ]---