(syz.7.487,8648,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.7.487,8648,0):ocfs2_read_locked_inode:612 ERROR: Inode 71: system file state is ambiguous
------------[ cut here ]------------
kernel BUG at fs/ocfs2/inode.c:612!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 8648 Comm: syz.7.487 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:ocfs2_iget+0x19a3/0x1a90
Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 e7 aa ba 8d ba 64 02 00 00 48 c7 c1 a0 97 ca 8b e8 1e 3c 15 00 90 <0f> 0b e8 b6 c3 20 fe 90 0f 0b e8 ae c3 20 fe 31 f6 65 ff 0d a5 68
RSP: 0018:ffffc9000400ec60 EFLAGS: 00010246
RAX: fa62fd1eeb9e4200 RBX: ffffc9000400eda0 RCX: fa62fd1eeb9e4200
RDX: ffffc90007f19000 RSI: 000000000000583c RDI: 000000000000583d
RBP: ffffc9000400eed0 R08: ffff88804b024253 R09: 1ffff1100960484a
R10: dffffc0000000000 R11: ffffed100960484b R12: ffff88802d705e2c
R13: 1ffff92000801d94 R14: ffffc9000400edc0 R15: 1000000000000000
FS:  00007f69fd91d6c0(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000361a6000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 ocfs2_get_system_file_inode+0x37a/0x7d0
 ocfs2_init_global_system_inodes+0x319/0x660
 ocfs2_fill_super+0x2ad5/0x63c0
 get_tree_bdev_flags+0x40e/0x4d0
 vfs_get_tree+0x92/0x2b0
 do_new_mount+0x2a2/0x9e0
 __se_sys_mount+0x317/0x410
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f69fcb9038a
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:00007f69fd91ce68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f69fd91cef0 RCX: 00007f69fcb9038a
RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007f69fd91ceb0
RBP: 0000200000004440 R08: 00007f69fd91cef0 R09: 00000000010008d0
R10: 00000000010008d0 R11: 0000000000000246 R12: 0000200000000040
R13: 00007f69fd91ceb0 R14: 000000000000445f R15: 0000200000000a40
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_iget+0x19a3/0x1a90
Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 e7 aa ba 8d ba 64 02 00 00 48 c7 c1 a0 97 ca 8b e8 1e 3c 15 00 90 <0f> 0b e8 b6 c3 20 fe 90 0f 0b e8 ae c3 20 fe 31 f6 65 ff 0d a5 68
RSP: 0018:ffffc9000400ec60 EFLAGS: 00010246
RAX: fa62fd1eeb9e4200 RBX: ffffc9000400eda0 RCX: fa62fd1eeb9e4200
RDX: ffffc90007f19000 RSI: 000000000000583c RDI: 000000000000583d
RBP: ffffc9000400eed0 R08: ffff88804b024253 R09: 1ffff1100960484a
R10: dffffc0000000000 R11: ffffed100960484b R12: ffff88802d705e2c
R13: 1ffff92000801d94 R14: ffffc9000400edc0 R15: 1000000000000000
FS:  00007f69fd91d6c0(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f08b598cba8 CR3: 00000000361a6000 CR4: 00000000000006f0
