(syz.3.1611,12543,0):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.3.1611,12543,0):ocfs2_read_locked_inode:612 ERROR: Inode 17: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:612! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 12543 Comm: syz.3.1611 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 d3 28 db 8d ba 64 02 00 00 48 c7 c1 80 cd ea 8b e8 ee 3c 15 00 90 <0f> 0b e8 56 a5 1f fe 90 0f 0b e8 4e a5 1f fe 31 f6 65 ff 0d b5 4f RSP: 0018:ffffc9001b416da0 EFLAGS: 00010246 RAX: 3e0d52385899ab00 RBX: ffffc9001b416ee0 RCX: 3e0d52385899ab00 RDX: ffffc9000cb9c000 RSI: 0000000000007937 RDI: 0000000000007938 RBP: ffffc9001b417010 R08: ffffc9001b416967 R09: 1ffff92003682d2c R10: dffffc0000000000 R11: fffff52003682d2d R12: ffff88806d7ae22c R13: 1ffff92003682dbc R14: ffffc9001b416f00 R15: 1000000000000000 FS: 00007f434b3516c0(0000) GS:ffff8881259f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4340dca000 CR3: 000000008c9d4000 CR4: 00000000003526f0 DR0: 8000000000000001 DR1: 0001000000000000 DR2: 0000000000000005 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: ocfs2_init_global_system_inodes+0xc5/0x660 fs/ocfs2/super.c:441 ocfs2_initialize_super fs/ocfs2/super.c:2194 [inline] ocfs2_fill_super+0x2ac0/0x63a0 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1691 vfs_get_tree+0x8f/0x2b0 fs/super.c:1751 fc_mount fs/namespace.c:1274 [inline] do_new_mount_fc fs/namespace.c:3726 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3802 do_mount fs/namespace.c:4125 [inline] __do_sys_mount fs/namespace.c:4324 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4301 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f434a59038a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f434b350e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f434b350ef0 RCX: 00007f434a59038a RDX: 0000200000004540 RSI: 0000200000004580 RDI: 00007f434b350eb0 RBP: 0000200000004540 R08: 00007f434b350ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000004580 R13: 00007f434b350eb0 R14: 0000000000004529 R15: 00002000000045c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 d3 28 db 8d ba 64 02 00 00 48 c7 c1 80 cd ea 8b e8 ee 3c 15 00 90 <0f> 0b e8 56 a5 1f fe 90 0f 0b e8 4e a5 1f fe 31 f6 65 ff 0d b5 4f RSP: 0018:ffffc9001b416da0 EFLAGS: 00010246 RAX: 3e0d52385899ab00 RBX: ffffc9001b416ee0 RCX: 3e0d52385899ab00 RDX: ffffc9000cb9c000 RSI: 0000000000007937 RDI: 0000000000007938 RBP: ffffc9001b417010 R08: ffffc9001b416967 R09: 1ffff92003682d2c R10: dffffc0000000000 R11: fffff52003682d2d R12: ffff88806d7ae22c R13: 1ffff92003682dbc R14: ffffc9001b416f00 R15: 1000000000000000 FS: 00007f434b3516c0(0000) GS:ffff888125af9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555576265608 CR3: 000000008c9d4000 CR4: 00000000003526f0