loop0: detected capacity change from 0 to 32768 (syz.0.0,5320,0):ocfs2_read_locked_inode:614 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.0.0,5320,0):ocfs2_read_locked_inode:614 ERROR: Inode 65: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:614! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5320 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:611 [inline] RIP: 0010:ocfs2_iget+0x19dc/0x1ac0 fs/ocfs2/inode.c:157 Code: 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 9e 5b d4 8d ba 66 02 00 00 48 c7 c1 20 b9 d1 8b e8 ea fc 15 00 41 c6 45 24 f8 90 <0f> 0b e8 1d 3e 11 fe 90 0f 0b e8 15 3e 11 fe 31 f6 65 ff 0d 8c e5 RSP: 0018:ffffc9000c68eda0 EFLAGS: 00010246 RAX: 144e551cdfb0ce00 RBX: ffffc9000c68eee0 RCX: 144e551cdfb0ce00 RDX: ffffc90020802000 RSI: 0000000000003d50 RDI: 0000000000003d51 RBP: ffffc9000c68f010 R08: ffffc9000c68e9c7 R09: 1ffff920018d1d38 R10: dffffc0000000000 R11: fffff520018d1d39 R12: ffff8880566c522c R13: fffff520018d1dbc R14: ffffc9000c68ef00 R15: 1000000000000000 FS: 00007f26f62c86c0(0000) GS:ffff88808cf1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb5cf75000 CR3: 0000000036f57000 CR4: 0000000000352ef0 Call Trace: ocfs2_init_global_system_inodes+0xc8/0x6e0 fs/ocfs2/super.c:441 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline] ocfs2_fill_super+0x458d/0x6910 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1691 vfs_get_tree+0x92/0x2a0 fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x329/0xa50 fs/namespace.c:3712 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4201 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f26f539bf4a 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:00007f26f62c7e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f26f62c7ee0 RCX: 00007f26f539bf4a RDX: 0000200000004500 RSI: 0000200000004540 RDI: 00007f26f62c7ea0 RBP: 0000200000004500 R08: 00007f26f62c7ee0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000004540 R13: 00007f26f62c7ea0 R14: 00000000000044f1 R15: 0000200000004580 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:611 [inline] RIP: 0010:ocfs2_iget+0x19dc/0x1ac0 fs/ocfs2/inode.c:157 Code: 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 9e 5b d4 8d ba 66 02 00 00 48 c7 c1 20 b9 d1 8b e8 ea fc 15 00 41 c6 45 24 f8 90 <0f> 0b e8 1d 3e 11 fe 90 0f 0b e8 15 3e 11 fe 31 f6 65 ff 0d 8c e5 RSP: 0018:ffffc9000c68eda0 EFLAGS: 00010246 RAX: 144e551cdfb0ce00 RBX: ffffc9000c68eee0 RCX: 144e551cdfb0ce00 RDX: ffffc90020802000 RSI: 0000000000003d50 RDI: 0000000000003d51 RBP: ffffc9000c68f010 R08: ffffc9000c68e9c7 R09: 1ffff920018d1d38 R10: dffffc0000000000 R11: fffff520018d1d39 R12: ffff8880566c522c R13: fffff520018d1dbc R14: ffffc9000c68ef00 R15: 1000000000000000 FS: 00007f26f62c86c0(0000) GS:ffff88808cf1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb5cf98000 CR3: 0000000036f57000 CR4: 0000000000352ef0