(syz.2.500,7670,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.2.500,7670,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: 7670 Comm: syz.2.500 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1916/0x19f0 fs/ocfs2/inode.c:159 Code: 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 1b 99 a4 8c ba 18 02 00 00 48 c7 c1 a0 f3 09 8b e8 0f fb 14 00 41 c6 45 24 f8 <0f> 0b e8 e3 5f 2d fe 0f 0b e8 dc 5f 2d fe 31 f6 65 ff 0d ab e9 a9 RSP: 0000:ffffc9000484ef20 EFLAGS: 00010246 RAX: 03e6a83586856500 RBX: ffffc9000484f060 RCX: 03e6a83586856500 RDX: ffffc9000d70c000 RSI: 0000000000013749 RDI: 000000000001374a RBP: ffffc9000484f190 R08: ffffc9000484e9c7 R09: 1ffff92000909d38 R10: dffffc0000000000 R11: fffff52000909d39 R12: ffff88804f47be2c R13: fffff52000909dec R14: ffffc9000484f080 R15: 1000000000000000 FS: 00007f744793d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff3e88eb88 CR3: 000000002eab5000 CR4: 00000000003506e0 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x39c/0x850 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2f7/0x6d0 fs/ocfs2/super.c:457 ocfs2_initialize_super fs/ocfs2/super.c:2252 [inline] ocfs2_fill_super+0x3c55/0x5010 fs/ocfs2/super.c:994 mount_bdev+0x221/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f744699e0ca Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f744793ce58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f744793cee0 RCX: 00007f744699e0ca RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007f744793cea0 RBP: 0000200000004440 R08: 00007f744793cee0 R09: 0000000000200840 R10: 0000000000200840 R11: 0000000000000246 R12: 0000200000000040 R13: 00007f744793cea0 R14: 0000000000004446 R15: 0000200000000600 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1916/0x19f0 fs/ocfs2/inode.c:159 Code: 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 1b 99 a4 8c ba 18 02 00 00 48 c7 c1 a0 f3 09 8b e8 0f fb 14 00 41 c6 45 24 f8 <0f> 0b e8 e3 5f 2d fe 0f 0b e8 dc 5f 2d fe 31 f6 65 ff 0d ab e9 a9 RSP: 0000:ffffc9000484ef20 EFLAGS: 00010246 RAX: 03e6a83586856500 RBX: ffffc9000484f060 RCX: 03e6a83586856500 RDX: ffffc9000d70c000 RSI: 0000000000013749 RDI: 000000000001374a RBP: ffffc9000484f190 R08: ffffc9000484e9c7 R09: 1ffff92000909d38 R10: dffffc0000000000 R11: fffff52000909d39 R12: ffff88804f47be2c R13: fffff52000909dec R14: ffffc9000484f080 R15: 1000000000000000 FS: 00007f744793d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff3e88eb88 CR3: 000000002eab5000 CR4: 00000000003506e0