loop5: detected capacity change from 0 to 32768 XFS (loop5): Mounting V5 Filesystem XFS (loop5): 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: 1 PID: 12745 Comm: syz-executor.5 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+0x83/0x93 fs/xfs/xfs_message.c:102 Code: 7f 10 84 d2 74 0c 48 c7 c7 90 0d b8 8c e8 b4 74 18 f8 8a 1d 0e 9e 03 03 31 ff 89 de e8 f5 a6 cb f7 84 db 74 07 e8 7c aa cb f7 <0f> 0b e8 75 aa cb f7 0f 0b 5b 5d 41 5c 41 5d c3 e8 67 aa cb f7 48 RSP: 0018:ffffc90004937768 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffff8a8d3501 RCX: 0000000000000000 RDX: ffff88801ca89d40 RSI: ffffffff89b46f94 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8a8d3f40 R13: 00000000000001ad R14: ffff888092e00000 R15: 0000000005050505 FS: 00007f0ffbdf3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ffbdf4000 CR3: 0000000079a31000 CR4: 0000000000350ee0 Call Trace: xlog_find_verify_log_record+0x53b/0x6a0 fs/xfs/xfs_log_recover.c:429 xlog_find_head+0x9c3/0xb60 fs/xfs/xfs_log_recover.c:722 xlog_find_tail+0xa9/0xa00 fs/xfs/xfs_log_recover.c:1256 xlog_recover+0x7d/0x500 fs/xfs/xfs_log_recover.c:3361 xfs_log_mount+0x363/0x780 fs/xfs/xfs_log.c:739 xfs_mountfs+0x1327/0x21c0 fs/xfs/xfs_mount.c:805 xfs_fs_fill_super+0x137d/0x1fe0 fs/xfs/xfs_super.c:1666 get_tree_bdev+0x444/0x760 fs/super.c:1324 vfs_get_tree+0x8d/0x2f0 fs/super.c:1531 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x132a/0x1e20 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] __x64_sys_mount+0x283/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0ffb08d6ba 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:00007f0ffbdf2f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000096b9 RCX: 00007f0ffb08d6ba RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007f0ffbdf2fe0 RBP: 00007f0ffbdf3020 R08: 00007f0ffbdf3020 R09: 0000000020000000 R10: 0000000006208004 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000040 R14: 00007f0ffbdf2fe0 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:assfail+0x83/0x93 fs/xfs/xfs_message.c:102 Code: 7f 10 84 d2 74 0c 48 c7 c7 90 0d b8 8c e8 b4 74 18 f8 8a 1d 0e 9e 03 03 31 ff 89 de e8 f5 a6 cb f7 84 db 74 07 e8 7c aa cb f7 <0f> 0b e8 75 aa cb f7 0f 0b 5b 5d 41 5c 41 5d c3 e8 67 aa cb f7 48 RSP: 0018:ffffc90004937768 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffffffff8a8d3501 RCX: 0000000000000000 RDX: ffff88801ca89d40 RSI: ffffffff89b46f94 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8a8d3f40 R13: 00000000000001ad R14: ffff888092e00000 R15: 0000000005050505 FS: 00007f0ffbdf3700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ffbdf4000 CR3: 0000000079a31000 CR4: 0000000000350ee0