loop0: detected capacity change from 0 to 32768 (syz.0.0,5326,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,5326,0):ocfs2_read_locked_inode:614 ERROR: Inode 70: 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: 5326 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+0x1b27/0x1c20 fs/ocfs2/inode.c:157 Code: 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 92 14 17 8e ba 66 02 00 00 48 c7 c1 c0 59 12 8c e8 8f 9c 16 00 41 c6 45 24 f8 90 <0f> 0b e8 52 c0 03 fe 90 0f 0b e8 4a c0 03 fe 48 c7 c3 3f e7 7b 8e RSP: 0018:ffffc9000f6aec20 EFLAGS: 00010246 RAX: df65e590dbe30000 RBX: ffffc9000f6aed60 RCX: df65e590dbe30000 RDX: ffffc9000ed42000 RSI: 00000000000056c9 RDI: 00000000000056ca RBP: ffffc9000f6aee90 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: ffff888056a40c2c R13: fffff52001ed5d8c R14: ffffc9000f6aed80 R15: 1000000000000000 FS: 00007fbde3f7d6c0(0000) GS:ffff88808ca55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40aeb1e090 CR3: 0000000044c17000 CR4: 0000000000352ef0 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x360/0x7e0 fs/ocfs2/sysfile.c:112 ocfs2_init_global_system_inodes+0x2f6/0x6e0 fs/ocfs2/super.c:461 ocfs2_initialize_super fs/ocfs2/super.c:2196 [inline] ocfs2_fill_super+0x455b/0x6900 fs/ocfs2/super.c:993 get_tree_bdev_flags+0x431/0x4f0 fs/super.c:1694 vfs_get_tree+0x92/0x2a0 fs/super.c:1754 fc_mount fs/namespace.c:1193 [inline] do_new_mount_fc fs/namespace.c:3763 [inline] do_new_mount+0x341/0xd30 fs/namespace.c:3839 do_mount fs/namespace.c:4172 [inline] __do_sys_mount fs/namespace.c:4361 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4338 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbde319da0a 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:00007fbde3f7ce18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbde3f7cea0 RCX: 00007fbde319da0a RDX: 0000200000004440 RSI: 0000200000000040 RDI: 00007fbde3f7ce60 RBP: 0000200000004440 R08: 00007fbde3f7cea0 R09: 0000000000000880 R10: 0000000000000880 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fbde3f7ce60 R14: 0000000000004449 R15: 0000200000000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:611 [inline] RIP: 0010:ocfs2_iget+0x1b27/0x1c20 fs/ocfs2/inode.c:157 Code: 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 92 14 17 8e ba 66 02 00 00 48 c7 c1 c0 59 12 8c e8 8f 9c 16 00 41 c6 45 24 f8 90 <0f> 0b e8 52 c0 03 fe 90 0f 0b e8 4a c0 03 fe 48 c7 c3 3f e7 7b 8e RSP: 0018:ffffc9000f6aec20 EFLAGS: 00010246 RAX: df65e590dbe30000 RBX: ffffc9000f6aed60 RCX: df65e590dbe30000 RDX: ffffc9000ed42000 RSI: 00000000000056c9 RDI: 00000000000056ca RBP: ffffc9000f6aee90 R08: ffff88801fc247d3 R09: 1ffff11003f848fa R10: dffffc0000000000 R11: ffffed1003f848fb R12: ffff888056a40c2c R13: fffff52001ed5d8c R14: ffffc9000f6aed80 R15: 1000000000000000 FS: 00007fbde3f7d6c0(0000) GS:ffff88808ca55000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40af18e000 CR3: 0000000044c17000 CR4: 0000000000352ef0