loop0: detected capacity change from 0 to 32768 loop0: detected capacity change from 0 to 32768 (syz.0.0,5322,0):ocfs2_read_locked_inode:648 ERROR: bug expression: !!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) (syz.0.0,5322,0):ocfs2_read_locked_inode:648 ERROR: Inode 77: system file state is ambiguous ------------[ cut here ]------------ kernel BUG at fs/ocfs2/inode.c:648! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5322 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:645 [inline] RIP: 0010:ocfs2_iget+0x1aa4/0x1b30 fs/ocfs2/inode.c:191 Code: 00 4c 8b 84 24 80 01 00 00 4c 89 f7 48 c7 c6 7c 6c 26 8e ba 88 02 00 00 48 c7 c1 20 7d 13 8c e8 92 9a 16 00 41 c6 45 24 f8 90 <0f> 0b e8 05 df fa fd 90 0f 0b e8 fd de fa fd 48 c7 c7 80 a9 9b 8e RSP: 0018:ffffc90006e1ed80 EFLAGS: 00010246 RAX: 390a224f1fb14d00 RBX: ffffc90006e1eea0 RCX: 390a224f1fb14d00 RDX: ffffc90020802000 RSI: 00000000000084d4 RDI: 00000000000084d5 RBP: ffffc90006e1efd0 R08: ffffc90006e1e9a7 R09: 1ffff92000dc3d34 R10: dffffc0000000000 R11: fffff52000dc3d35 R12: ffff8880538aea2c R13: fffff52000dc3db4 R14: ffffc90006e1eec0 R15: 1000000000000000 FS: 00007f52982ee6c0(0000) GS:ffff88808c81b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffeb84229ec CR3: 0000000012fa9000 CR4: 0000000000352ef0 Call Trace: _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:139 [inline] ocfs2_get_system_file_inode+0x35d/0x810 fs/ocfs2/sysfile.c:110 ocfs2_init_local_system_inodes fs/ocfs2/super.c:491 [inline] ocfs2_mount_volume fs/ocfs2/super.c:1755 [inline] ocfs2_fill_super+0x3b5c/0x6840 fs/ocfs2/super.c:1083 get_tree_bdev_flags+0x430/0x4f0 fs/super.c:1634 vfs_get_tree+0x92/0x2a0 fs/super.c:1694 fc_mount fs/namespace.c:1198 [inline] do_new_mount_fc fs/namespace.c:3765 [inline] do_new_mount+0x319/0xdc0 fs/namespace.c:3841 do_mount fs/namespace.c:4174 [inline] __do_sys_mount fs/namespace.c:4390 [inline] __se_sys_mount+0x31d/0x420 fs/namespace.c:4367 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f529739e0ca 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:00007f52982ede18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f52982edea0 RCX: 00007f529739e0ca RDX: 0000200000000100 RSI: 0000200000000040 RDI: 00007f52982ede60 RBP: 0000200000000100 R08: 00007f52982edea0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000040 R13: 00007f52982ede60 R14: 0000000000004458 R15: 0000200000000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ocfs2_read_locked_inode fs/ocfs2/inode.c:645 [inline] RIP: 0010:ocfs2_iget+0x1aa4/0x1b30 fs/ocfs2/inode.c:191 Code: 00 4c 8b 84 24 80 01 00 00 4c 89 f7 48 c7 c6 7c 6c 26 8e ba 88 02 00 00 48 c7 c1 20 7d 13 8c e8 92 9a 16 00 41 c6 45 24 f8 90 <0f> 0b e8 05 df fa fd 90 0f 0b e8 fd de fa fd 48 c7 c7 80 a9 9b 8e RSP: 0018:ffffc90006e1ed80 EFLAGS: 00010246 RAX: 390a224f1fb14d00 RBX: ffffc90006e1eea0 RCX: 390a224f1fb14d00 RDX: ffffc90020802000 RSI: 00000000000084d4 RDI: 00000000000084d5 RBP: ffffc90006e1efd0 R08: ffffc90006e1e9a7 R09: 1ffff92000dc3d34 R10: dffffc0000000000 R11: fffff52000dc3d35 R12: ffff8880538aea2c R13: fffff52000dc3db4 R14: ffffc90006e1eec0 R15: 1000000000000000 FS: 00007f52982ee6c0(0000) GS:ffff88808c81b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a37e354168 CR3: 0000000012fa9000 CR4: 0000000000352ef0