BTRFS error (device loop0: state C): failed to load root csum assertion failed: !tmp, in fs/btrfs/disk-io.c:1103 ------------[ cut here ]------------ kernel BUG at fs/btrfs/ctree.h:3664! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3611 Comm: syz-executor477 Not tainted 6.0.0-rc7-syzkaller-00068-g49c13ed0316d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:assertfail.constprop.0+0x27/0x29 fs/btrfs/ctree.h:3664 Code: c2 35 f8 41 54 41 89 f4 55 48 89 fd e8 d4 c2 35 f8 44 89 e1 48 89 ee 48 c7 c2 c0 e4 36 8a 48 c7 c7 00 e5 36 8a e8 32 97 f5 ff <0f> 0b e8 b4 c2 35 f8 e8 cf 1f 82 f8 be 78 04 00 00 48 c7 c7 a0 e5 RSP: 0018:ffffc9000392f730 EFLAGS: 00010282 RAX: 0000000000000032 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888018ba9d80 RSI: ffffffff8161f2a8 RDI: fffff52000725ed8 RBP: ffffffff8a36f3e0 R08: 0000000000000032 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 000000000000044f R13: ffff8880770cc1f7 R14: dffffc0000000000 R15: ffff8880786e0060 FS: 0000555556704300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005d84c8 CR3: 0000000021b72000 CR4: 0000000000350ee0 Call Trace: btrfs_global_root_insert.cold+0x23/0x23 fs/btrfs/disk-io.c:1103 load_global_roots_objectid+0x42e/0x5fe fs/btrfs/disk-io.c:2467 load_global_roots fs/btrfs/disk-io.c:2501 [inline] btrfs_read_roots fs/btrfs/disk-io.c:2528 [inline] init_tree_roots fs/btrfs/disk-io.c:2939 [inline] open_ctree+0x2c13/0x4b0a fs/btrfs/disk-io.c:3574 btrfs_fill_super fs/btrfs/super.c:1456 [inline] btrfs_mount_root.cold+0x15/0x162 fs/btrfs/super.c:1824 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 fc_mount fs/namespace.c:1043 [inline] vfs_kern_mount.part.0+0xd3/0x170 fs/namespace.c:1073 vfs_kern_mount+0x3c/0x60 fs/namespace.c:1060 btrfs_mount+0x234/0xa60 fs/btrfs/super.c:1884 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/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+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0e623e188a Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcbf538c48 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0e623e188a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffcbf538c60 RBP: 00007ffcbf538c60 R08: 00007ffcbf538ca0 R09: 00005555567042c0 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000004 R13: 00007ffcbf538ca0 R14: 0000000000000034 R15: 00000000200006e0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:assertfail.constprop.0+0x27/0x29 fs/btrfs/ctree.h:3664 Code: c2 35 f8 41 54 41 89 f4 55 48 89 fd e8 d4 c2 35 f8 44 89 e1 48 89 ee 48 c7 c2 c0 e4 36 8a 48 c7 c7 00 e5 36 8a e8 32 97 f5 ff <0f> 0b e8 b4 c2 35 f8 e8 cf 1f 82 f8 be 78 04 00 00 48 c7 c7 a0 e5 RSP: 0018:ffffc9000392f730 EFLAGS: 00010282 RAX: 0000000000000032 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888018ba9d80 RSI: ffffffff8161f2a8 RDI: fffff52000725ed8 RBP: ffffffff8a36f3e0 R08: 0000000000000032 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 000000000000044f R13: ffff8880770cc1f7 R14: dffffc0000000000 R15: ffff8880786e0060 FS: 0000555556704300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005d84c8 CR3: 0000000021b72000 CR4: 0000000000350ee0