BTRFS warning (device loop0): 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: 0 PID: 6831 Comm: syz-executor.0 Not tainted 6.4.0-rc4-syzkaller-gcd6bd67ad7ab #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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 : ffff800098897120 x29: ffff800098897120 x28: ffff0000f1a6a000 x27: dfff800000000000 x26: ffff0000df15a250 x25: ffff0000d0764000 x24: dfff800000000000 x23: 0000000000000000 x22: ffff0000f1a6a1f7 x21: ffff0000de8700a0 x20: ffff0000de870060 x19: ffff0000f1a6a000 x18: 1fffe000368447c6 x17: 0000000000000000 x16: ffff80008a433f7c x15: 0000000000000001 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000040000 x10: 000000000003ffff x9 : 92eca04ef037df00 x8 : 92eca04ef037df00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800098896a38 x4 : ffff80008df9ed80 x3 : ffff800082a921c4 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+0x6f8/0x7f8 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/0x8c4 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/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: aa0003e1 f0002ca0 910a8000 97ffde01 (d4210000) ---[ end trace 0000000000000000 ]---