(syz.9.521,9364,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.9.521,9364,0):ocfs2_read_locked_inode:612 ERROR: Inode 69: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:612! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 9364 Comm: syz.9.521 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 c0 ae ba 8d ba 64 02 00 00 48 c7 c1 a0 97 ca 8b e8 1e 3c 15 00 90 <0f> 0b e8 66 bc 20 fe 90 0f 0b e8 5e bc 20 fe 31 f6 65 ff 0d 05 61 RSP: 0018:ffffc9000b746c60 EFLAGS: 00010246 RAX: e44631f1d89eb800 RBX: ffffc9000b746da0 RCX: e44631f1d89eb800 RDX: ffffc9001dbe3000 RSI: 000000000000ea29 RDI: 000000000000ea2a RBP: ffffc9000b746ed0 R08: ffffc9000b746827 R09: 1ffff920016e8d04 R10: dffffc0000000000 R11: fffff520016e8d05 R12: ffff88804f7f0a2c R13: 1ffff920016e8d94 R14: ffffc9000b746dc0 R15: 1000000000000000 FS: 00007fd5773ce6c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000032000 CR3: 000000005907b000 CR4: 0000000000350ef0 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x37a/0x7d0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x319/0x660 fs/ocfs2/super.c:461 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline] ocfs2_fill_super+0x2ad5/0x63c0 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1692 vfs_get_tree+0x92/0x2b0 fs/super.c:1815 do_new_mount+0x2a2/0x9e0 fs/namespace.c:3808 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4324 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd57659038a 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:00007fd5773cde68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd5773cdef0 RCX: 00007fd57659038a RDX: 0000200000004440 RSI: 0000200000000240 RDI: 00007fd5773cdeb0 RBP: 0000200000004440 R08: 00007fd5773cdef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000200000000240 R13: 00007fd5773cdeb0 R14: 000000000000443e R15: 0000200000000140 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 c0 ae ba 8d ba 64 02 00 00 48 c7 c1 a0 97 ca 8b e8 1e 3c 15 00 90 <0f> 0b e8 66 bc 20 fe 90 0f 0b e8 5e bc 20 fe 31 f6 65 ff 0d 05 61 RSP: 0018:ffffc9000b746c60 EFLAGS: 00010246 RAX: e44631f1d89eb800 RBX: ffffc9000b746da0 RCX: e44631f1d89eb800 RDX: ffffc9001dbe3000 RSI: 000000000000ea29 RDI: 000000000000ea2a RBP: ffffc9000b746ed0 R08: ffffc9000b746827 R09: 1ffff920016e8d04 R10: dffffc0000000000 R11: fffff520016e8d05 R12: ffff88804f7f0a2c R13: 1ffff920016e8d94 R14: ffffc9000b746dc0 R15: 1000000000000000 FS: 00007fd5773ce6c0(0000) GS:ffff888125c1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff49a79c000 CR3: 000000005907b000 CR4: 0000000000350ef0