(syz.4.161,5088,1):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.4.161,5088,1):ocfs2_read_locked_inode:536 ERROR: Inode 71: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:536! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5088 Comm: syz.4.161 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1a3f/0x1bc0 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 7e 14 3b 8c ba 18 02 00 00 48 c7 c1 e0 25 ac 8a e8 91 ed 13 00 <0f> 0b e8 6a 9a 42 fe 0f 0b e8 63 9a 42 fe 31 f6 65 ff 0d d2 29 c4 RSP: 0018:ffffc90003266fa0 EFLAGS: 00010246 RAX: 5602073899295b00 RBX: ffffc900032670e0 RCX: 5602073899295b00 RDX: ffffc9000fb5c000 RSI: 000000000000ecac RDI: 000000000000ecad RBP: ffffc90003267210 R08: dffffc0000000000 R09: fffff5200064cd59 R10: fffff5200064cd59 R11: 1ffff9200064cd58 R12: 0000000000000001 R13: 0000000000000000 R14: ffffc90003267100 R15: 1000000000000000 FS: 00007fc0051d56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000011000 CR3: 0000000028b85000 CR4: 00000000003506e0 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+0x362/0x7b0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x316/0x650 fs/ocfs2/super.c:457 ocfs2_initialize_super fs/ocfs2/super.c:2253 [inline] ocfs2_fill_super+0x2a32/0x4d00 fs/ocfs2/super.c:994 mount_bdev+0x287/0x3c0 fs/super.c:1443 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fc006f90eea 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:00007fc0051d4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fc0051d4ef0 RCX: 00007fc006f90eea RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007fc0051d4eb0 RBP: 0000200000004440 R08: 00007fc0051d4ef0 R09: 00000000000008c0 R10: 00000000000008c0 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fc0051d4eb0 R14: 0000000000004445 R15: 0000200000000880 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1a3f/0x1bc0 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 7e 14 3b 8c ba 18 02 00 00 48 c7 c1 e0 25 ac 8a e8 91 ed 13 00 <0f> 0b e8 6a 9a 42 fe 0f 0b e8 63 9a 42 fe 31 f6 65 ff 0d d2 29 c4 RSP: 0018:ffffc90003266fa0 EFLAGS: 00010246 RAX: 5602073899295b00 RBX: ffffc900032670e0 RCX: 5602073899295b00 RDX: ffffc9000fb5c000 RSI: 000000000000ecac RDI: 000000000000ecad RBP: ffffc90003267210 R08: dffffc0000000000 R09: fffff5200064cd59 R10: fffff5200064cd59 R11: 1ffff9200064cd58 R12: 0000000000000001 R13: 0000000000000000 R14: ffffc90003267100 R15: 1000000000000000 FS: 00007fc0051d56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000011000 CR3: 0000000028b85000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400