BTRFS error (device loop0): failed to load root csum assertion failed: !tmp, in fs/btrfs/disk-io.c:1270 ------------[ cut here ]------------ kernel BUG at fs/btrfs/ctree.h:3519! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4182 Comm: syz-executor.0 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:assertfail.constprop.0+0x18/0x1a fs/btrfs/ctree.h:3519 Code: e9 d4 fd ff ff 4c 89 ef e8 9e 17 64 f9 e9 fe fd ff ff 89 f1 48 c7 c2 00 f5 10 89 48 89 fe 48 c7 c7 40 f5 10 89 e8 83 1c f5 ff <0f> 0b 41 55 ba ff ff 37 00 41 54 48 c1 e2 2a 55 53 48 89 fb 48 83 RSP: 0018:ffffc9000292f748 EFLAGS: 00010286 RAX: 0000000000000032 RBX: ffff88807918e000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8921d6a0 RDI: fffff52000525edc RBP: ffff888074fe0000 R08: 0000000000000032 R09: ffff8880b9c34007 R10: ffffed1017386800 R11: 0000000000000001 R12: ffff888074fe01f7 R13: ffff88807713c098 R14: ffff88807713c058 R15: dffffc0000000000 FS: 00007fdb91316700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a93365f418 CR3: 0000000077c44000 CR4: 0000000000350ef0 Call Trace: btrfs_global_root_insert.cold+0x1e/0x1e fs/btrfs/disk-io.c:1270 load_global_roots_objectid+0x314/0x3ff fs/btrfs/disk-io.c:2591 load_global_roots fs/btrfs/disk-io.c:2622 [inline] btrfs_read_roots fs/btrfs/disk-io.c:2649 [inline] init_tree_roots fs/btrfs/disk-io.c:3017 [inline] open_ctree+0x26ed/0x3e33 fs/btrfs/disk-io.c:3654 btrfs_fill_super fs/btrfs/super.c:1359 [inline] btrfs_mount_root.cold+0xe/0x118 fs/btrfs/super.c:1726 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:610 vfs_get_tree+0x7f/0x2c0 fs/super.c:1500 fc_mount fs/namespace.c:994 [inline] vfs_kern_mount.part.0+0x70/0x100 fs/namespace.c:1024 btrfs_mount+0x1aa/0x920 fs/btrfs/super.c:1786 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:610 vfs_get_tree+0x7f/0x2c0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x7e8/0x1a40 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fdb91ba3ada 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:00007fdb91315f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fdb91ba3ada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fdb91315fe0 RBP: 00007fdb91316020 R08: 00007fdb91316020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fdb91315fe0 R15: 0000000020002740 Modules linked in: ---[ end trace 68f7184cd7d4c778 ]--- RIP: 0010:assertfail.constprop.0+0x18/0x1a fs/btrfs/ctree.h:3519 Code: e9 d4 fd ff ff 4c 89 ef e8 9e 17 64 f9 e9 fe fd ff ff 89 f1 48 c7 c2 00 f5 10 89 48 89 fe 48 c7 c7 40 f5 10 89 e8 83 1c f5 ff <0f> 0b 41 55 ba ff ff 37 00 41 54 48 c1 e2 2a 55 53 48 89 fb 48 83 RSP: 0018:ffffc9000292f748 EFLAGS: 00010286 RAX: 0000000000000032 RBX: ffff88807918e000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8921d6a0 RDI: fffff52000525edc RBP: ffff888074fe0000 R08: 0000000000000032 R09: ffff8880b9c34007 R10: ffffed1017386800 R11: 0000000000000001 R12: ffff888074fe01f7 R13: ffff88807713c098 R14: ffff88807713c058 R15: dffffc0000000000 FS: 00007fdb91316700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0127102a70 CR3: 0000000077c44000 CR4: 0000000000350ef0