BTRFS warning (device loop3: state C): couldn't read tree root assertion failed: !tmp, in fs/btrfs/disk-io.c:1002 ------------[ cut here ]------------ kernel BUG at fs/btrfs/messages.c:259! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 11651 Comm: syz-executor.3 Not tainted 6.4.0-rc2-syzkaller-gf1fcbaa18b28 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : btrfs_assertfail+0x24/0x28 fs/btrfs/messages.c:258 lr : btrfs_assertfail+0x24/0x28 fs/btrfs/messages.c:258 sp : ffff800021cf7140 x29: ffff800021cf7140 x28: ffff0000dfb6e000 x27: dfff800000000000 x26: ffff0000caf42880 x25: ffff0000dc412000 x24: dfff800000000000 x23: 0000000000000000 x22: ffff0000dfb6e1f7 x21: ffff0001513980a0 x20: ffff000151398060 x19: ffff0000dfb6e000 x18: 1fffe00036848fbe x17: 0000000000000000 x16: ffff80001243078c x15: 0000000000000001 x14: 0000000000000000 x13: fffffffffffc70d8 x12: 0000000000000001 x11: 0000000000040000 x10: 000000000003ffff x9 : a7986095fa760b00 x8 : a7986095fa760b00 x7 : fffffffffffc70d8 x6 : fffffffffffc7088 x5 : ffff800021cf6a58 x4 : ffff800015f61370 x3 : ffff80000aa8e264 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000032 Call trace: btrfs_assertfail+0x24/0x28 fs/btrfs/messages.c:258 btrfs_global_root_delete+0x0/0x70 fs/btrfs/disk-io.c:1002 load_global_roots_objectid+0x3e0/0x808 fs/btrfs/disk-io.c:2384 load_global_roots fs/btrfs/disk-io.c:2418 [inline] btrfs_read_roots fs/btrfs/disk-io.c:2445 [inline] init_tree_roots+0x7d4/0x177c fs/btrfs/disk-io.c:2868 open_ctree+0x143c/0x24f0 fs/btrfs/disk-io.c:3566 btrfs_fill_super+0x1b4/0x2e4 fs/btrfs/super.c:1156 btrfs_mount_root+0x704/0x808 fs/btrfs/super.c:1524 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1510 fc_mount fs/namespace.c:1035 [inline] vfs_kern_mount+0xdc/0x178 fs/namespace.c:1065 btrfs_mount+0x330/0x9c8 fs/btrfs/super.c:1584 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3039 path_mount+0x590/0xe04 fs/namespace.c:3369 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c 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:591 Code: aa0003e1 b0002c40 913d8000 97ffde01 (d4210000) ---[ end trace 0000000000000000 ]---