XFS (loop1): Log inconsistent (didn't find previous header) XFS: Assertion failed: 0, file: fs/xfs/xfs_log_recover.c, line: 429 ------------[ cut here ]------------ kernel BUG at fs/xfs/xfs_message.c:102! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 7627 Comm: syz-executor.1 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : assfail+0x84/0x88 fs/xfs/xfs_message.c:102 lr : assfail+0x84/0x88 fs/xfs/xfs_message.c:102 sp : ffff80001686b8f0 x29: ffff80001686b8f0 x28: 00000000bebaedfe x27: 000000002f2f2f2f x26: ffff000109140000 x25: ffff00010913fe00 x24: 0000000000001600 x23: 00000000000015ff x22: 0000000000000000 x21: ffff80000cbcc152 x20: ffff80000cc97c03 x19: 0000000000000001 x18: 00000000000003a2 x17: ffff80000c0ed83c x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000010 x12: ffff80000d6907c0 x11: ff80800008ea4a68 x10: 0000000000000000 x9 : ffff800008ea4a68 x8 : ffff0000f7d44ec0 x7 : ffff80000816678c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 000000007fffffff x2 : ffff80001686b768 x1 : 0000000000000001 x0 : 0000000000000000 Call trace: assfail+0x84/0x88 fs/xfs/xfs_message.c:102 xlog_find_verify_log_record+0x230/0x3b8 fs/xfs/xfs_log_recover.c:429 xlog_find_head+0x490/0x6b0 fs/xfs/xfs_log_recover.c:704 xlog_find_tail+0x58/0x4fc fs/xfs/xfs_log_recover.c:1256 xlog_recover+0x44/0x28c fs/xfs/xfs_log_recover.c:3361 xfs_log_mount+0x27c/0x4f0 fs/xfs/xfs_log.c:739 xfs_mountfs+0x570/0xc30 fs/xfs/xfs_mount.c:805 xfs_fs_fill_super+0x804/0x880 fs/xfs/xfs_super.c:1666 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 xfs_fs_get_tree+0x28/0x38 fs/xfs/xfs_super.c:1713 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Code: a8c37bfd d50323bf d65f03c0 97d003bd (d4210000) ---[ end trace 0000000000000000 ]---