(syz-executor293,4170,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-executor293,4170,0):ocfs2_read_locked_inode:536 ERROR: Inode 72: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:536! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4170 Comm: syz-executor293 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x18b2/0x1990 fs/ocfs2/inode.c:159 Code: 89 bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 d2 9d b8 8b ba 18 02 00 00 48 c7 c1 c0 c4 47 8a e8 be 7d 13 00 <0f> 0b e8 47 ef 5c fe 0f 0b e8 40 ef 5c fe 31 f6 65 ff 0d df 9c e7 RSP: 0018:ffffc90002f8ed80 EFLAGS: 00010246 RAX: 8dc026121434e700 RBX: ffffc90002f8eec0 RCX: 8dc026121434e700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002f8eff0 R08: dffffc0000000000 R09: ffffed10172067a8 R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: ffff88806fbed02c R13: 1ffff920005f1db8 R14: ffffc90002f8eee0 R15: 1000000000000000 FS: 0000555588e6b380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f904a196000 CR3: 0000000024608000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x349/0x760 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:488 [inline] ocfs2_mount_volume+0x32a/0x1530 fs/ocfs2/super.c:1816 ocfs2_fill_super+0x2caf/0x4d80 fs/ocfs2/super.c:1083 mount_bdev+0x287/0x3c0 fs/super.c:1400 legacy_get_tree+0xe6/0x180 fs/fs_context.c:611 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x24a/0xa40 fs/namespace.c:3010 do_mount fs/namespace.c:3353 [inline] __do_sys_mount fs/namespace.c:3561 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3538 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f80a635497a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc037fe2f8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc037fe310 RCX: 00007f80a635497a RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007ffc037fe310 RBP: 0000200000000040 R08: 00007ffc037fe350 R09: 0000000000004448 R10: 00000000000008c0 R11: 0000000000000282 R12: 0000200000004440 R13: 00007ffc037fe350 R14: 0000000000000003 R15: 00000000000008c0 Modules linked in: ---[ end trace 2fe5c38f2cdfe57c ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x18b2/0x1990 fs/ocfs2/inode.c:159 Code: 89 bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 d2 9d b8 8b ba 18 02 00 00 48 c7 c1 c0 c4 47 8a e8 be 7d 13 00 <0f> 0b e8 47 ef 5c fe 0f 0b e8 40 ef 5c fe 31 f6 65 ff 0d df 9c e7 RSP: 0018:ffffc90002f8ed80 EFLAGS: 00010246 RAX: 8dc026121434e700 RBX: ffffc90002f8eec0 RCX: 8dc026121434e700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002f8eff0 R08: dffffc0000000000 R09: ffffed10172067a8 R10: ffffed10172067a8 R11: 1ffff110172067a7 R12: ffff88806fbed02c R13: 1ffff920005f1db8 R14: ffffc90002f8eee0 R15: 1000000000000000 FS: 0000555588e6b380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f904a196000 CR3: 0000000024608000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400