loop0: detected capacity change from 0 to 262144 (syz.0.0,5318,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.0.0,5318,0):ocfs2_read_locked_inode:612 ERROR: Inode 16: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:612! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5318 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~bpo12+1 04/01/2014 RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 40 cf 8f 8d ba 64 02 00 00 48 c7 c1 00 3f ab 8b e8 9e 3a 15 00 90 <0f> 0b e8 e6 b8 19 fe 90 0f 0b e8 de b8 19 fe 31 f6 65 ff 0d b5 b5 RSP: 0018:ffffc9000d3c6d80 EFLAGS: 00010246 RAX: db42f1204c7d9800 RBX: ffffc9000d3c6ec0 RCX: db42f1204c7d9800 RDX: ffffc9000df52000 RSI: 0000000000009a1f RDI: 0000000000009a20 RBP: ffffc9000d3c6ff0 R08: ffffc9000d3c6947 R09: 1ffff92001a78d28 R10: dffffc0000000000 R11: fffff52001a78d29 R12: ffff88801167402c R13: 1ffff92001a78db8 R14: ffffc9000d3c6ee0 R15: 1000000000000000 FS: 00007f01718fa6c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c757a0000 CR3: 000000004247f000 CR4: 0000000000352ef0 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:142 [inline] ocfs2_get_system_file_inode+0x356/0x770 fs/ocfs2/sysfile.c:112 ocfs2_init_local_system_inodes fs/ocfs2/super.c:491 [inline] ocfs2_mount_volume fs/ocfs2/super.c:1756 [inline] ocfs2_fill_super+0x4186/0x63c0 fs/ocfs2/super.c:1083 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1698 vfs_get_tree+0x92/0x2b0 fs/super.c:1758 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3642 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3718 do_mount fs/namespace.c:4041 [inline] __do_sys_mount fs/namespace.c:4229 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4206 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0170990eea 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:00007f01718f9e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f01718f9ef0 RCX: 00007f0170990eea RDX: 0000200000000140 RSI: 0000200000020340 RDI: 00007f01718f9eb0 RBP: 0000200000000140 R08: 00007f01718f9ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000020340 R13: 00007f01718f9eb0 R14: 000000000002031c R15: 0000200000000180 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:609 [inline] RIP: 0010:ocfs2_iget+0x19a3/0x1a90 fs/ocfs2/inode.c:157 Code: bc 24 60 01 00 00 4c 8b 84 24 a0 01 00 00 4c 89 f7 48 c7 c6 40 cf 8f 8d ba 64 02 00 00 48 c7 c1 00 3f ab 8b e8 9e 3a 15 00 90 <0f> 0b e8 e6 b8 19 fe 90 0f 0b e8 de b8 19 fe 31 f6 65 ff 0d b5 b5 RSP: 0018:ffffc9000d3c6d80 EFLAGS: 00010246 RAX: db42f1204c7d9800 RBX: ffffc9000d3c6ec0 RCX: db42f1204c7d9800 RDX: ffffc9000df52000 RSI: 0000000000009a1f RDI: 0000000000009a20 RBP: ffffc9000d3c6ff0 R08: ffffc9000d3c6947 R09: 1ffff92001a78d28 R10: dffffc0000000000 R11: fffff52001a78d29 R12: ffff88801167402c R13: 1ffff92001a78db8 R14: ffffc9000d3c6ee0 R15: 1000000000000000 FS: 00007f01718fa6c0(0000) GS:ffff88808d72f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01718d99a0 CR3: 000000004247f000 CR4: 0000000000352ef0