XFS (loop1): Mounting V5 Filesystem 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! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6906 Comm: syz-executor.1 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:assfail+0x97/0xa0 fs/xfs/xfs_message.c:102 Code: 0f 0b 5b 41 5e 41 5f 5d c3 48 c7 c1 f0 b0 77 8d 80 e1 07 38 c1 7c d0 48 c7 c7 f0 b0 77 8d e8 20 0e ab fe eb c2 e8 59 f6 56 fe <0f> 0b 0f 1f 80 00 00 00 00 41 56 53 89 f3 49 89 fe e8 43 f6 56 fe RSP: 0018:ffffc9000428f598 EFLAGS: 00010293 RAX: ffffffff8333a217 RBX: 0000000000000001 RCX: ffff888076d6ba80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8b32e340 R08: ffffffff8333a1e4 R09: ffffffff843cfcf6 R10: 0000000000000002 R11: ffff888076d6ba80 R12: 00000000000015fe R13: dffffc0000000000 R14: 00000000000001ad R15: ffffffff8b32fa30 FS: 00007fa734324700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556937848 CR3: 000000001e5a6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xlog_find_verify_log_record+0x3fa/0x6f0 fs/xfs/xfs_log_recover.c:429 xlog_find_head+0x7e4/0xbd0 fs/xfs/xfs_log_recover.c:704 xlog_find_tail+0x12f/0xe60 fs/xfs/xfs_log_recover.c:1256 xlog_recover+0x98/0x550 fs/xfs/xfs_log_recover.c:3361 xfs_log_mount+0x46c/0x810 fs/xfs/xfs_log.c:739 xfs_mountfs+0xd44/0x2040 fs/xfs/xfs_mount.c:805 xfs_fs_fill_super+0xf95/0x11f0 fs/xfs/xfs_super.c:1666 get_tree_bdev+0x400/0x620 fs/super.c:1324 vfs_get_tree+0x88/0x270 fs/super.c:1531 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa73368d6ba Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa734323f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000096b9 RCX: 00007fa73368d6ba RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007fa734323fe0 RBP: 00007fa734324020 R08: 00007fa734324020 R09: 0000000020000000 R10: 0000000006208004 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000040 R14: 00007fa734323fe0 R15: 0000000020000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:assfail+0x97/0xa0 fs/xfs/xfs_message.c:102 Code: 0f 0b 5b 41 5e 41 5f 5d c3 48 c7 c1 f0 b0 77 8d 80 e1 07 38 c1 7c d0 48 c7 c7 f0 b0 77 8d e8 20 0e ab fe eb c2 e8 59 f6 56 fe <0f> 0b 0f 1f 80 00 00 00 00 41 56 53 89 f3 49 89 fe e8 43 f6 56 fe RSP: 0018:ffffc9000428f598 EFLAGS: 00010293 RAX: ffffffff8333a217 RBX: 0000000000000001 RCX: ffff888076d6ba80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8b32e340 R08: ffffffff8333a1e4 R09: ffffffff843cfcf6 R10: 0000000000000002 R11: ffff888076d6ba80 R12: 00000000000015fe R13: dffffc0000000000 R14: 00000000000001ad R15: ffffffff8b32fa30 FS: 00007fa734324700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91222d3000 CR3: 000000001e5a6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400