(syz.0.17,5040,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.0.17,5040,0):ocfs2_read_locked_inode:536 ERROR: Inode 4103: 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: 5040 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1954/0x1a30 fs/ocfs2/inode.c:159 Code: 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 a8 7a e0 8b ba 18 02 00 00 48 c7 c1 40 01 68 8a e8 c1 10 14 00 41 c6 45 24 f8 <0f> 0b e8 75 b0 58 fe 0f 0b e8 6e b0 58 fe 31 f6 65 ff 0d 9d eb e1 RSP: 0018:ffffc90002fdef60 EFLAGS: 00010246 RAX: bbf7a8d9824fe300 RBX: ffffc90002fdf0a0 RCX: bbf7a8d9824fe300 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002fdf1d0 R08: ffff8880b9033d7f R09: 1ffff110172067af R10: dffffc0000000000 R11: ffffed10172067b0 R12: ffff88806a068e2c R13: fffff520005fbdf4 R14: ffffc90002fdf0c0 R15: 1000000000000000 FS: 00007f607a3f16c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f607ad76880 CR3: 000000005c690000 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+0x35b/0x7f0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2f3/0x6d0 fs/ocfs2/super.c:458 ocfs2_initialize_super fs/ocfs2/super.c:2279 [inline] ocfs2_fill_super+0x4060/0x50f0 fs/ocfs2/super.c:995 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:3034 do_mount fs/namespace.c:3377 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562 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:0x7f607ad8e90a 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:00007f607a3f0e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f607a3f0ee0 RCX: 00007f607ad8e90a RDX: 0000200000000000 RSI: 0000200000004480 RDI: 00007f607a3f0ea0 RBP: 0000200000000000 R08: 00007f607a3f0ee0 R09: 0000000000010040 R10: 0000000000010040 R11: 0000000000000246 R12: 0000200000004480 R13: 00007f607a3f0ea0 R14: 0000000000004450 R15: 00002000000009c0 Modules linked in: ---[ end trace 9e04081f2b2bdc0a ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:533 [inline] RIP: 0010:ocfs2_iget+0x1954/0x1a30 fs/ocfs2/inode.c:159 Code: 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 a8 7a e0 8b ba 18 02 00 00 48 c7 c1 40 01 68 8a e8 c1 10 14 00 41 c6 45 24 f8 <0f> 0b e8 75 b0 58 fe 0f 0b e8 6e b0 58 fe 31 f6 65 ff 0d 9d eb e1 RSP: 0018:ffffc90002fdef60 EFLAGS: 00010246 RAX: bbf7a8d9824fe300 RBX: ffffc90002fdf0a0 RCX: bbf7a8d9824fe300 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002fdf1d0 R08: ffff8880b9033d7f R09: 1ffff110172067af R10: dffffc0000000000 R11: ffffed10172067b0 R12: ffff88806a068e2c R13: fffff520005fbdf4 R14: ffffc90002fdf0c0 R15: 1000000000000000 FS: 00007f607a3f16c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f154c53c000 CR3: 000000005c690000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400