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: 1 PID: 6552 Comm: syz-executor.0 Not tainted 6.3.0-rc6-syzkaller-g7920df21c1b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 : ffff80001e757120 x29: ffff80001e757120 x28: ffff0000c8d72000 x27: dfff800000000000 x26: ffff0000e3e35460 x25: ffff0000dad64000 x24: dfff800000000000 x23: 0000000000000000 x22: ffff0000c8d721f7 x21: ffff0000cfca80a0 x20: ffff0000cfca8060 x19: ffff0000c8d72000 x18: 1fffe000368561b6 x17: ffff800015c7d000 x16: ffff800012324da4 x15: 0000000000000000 x14: 1ffff00002b900b0 x13: dfff800000000000 x12: 0000000000000001 x11: ff80800008346220 x10: 0000000000000000 x9 : 519eb626dce29c00 x8 : 519eb626dce29c00 x7 : ffff80000827ff14 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000085857f0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000032 Call trace: btrfs_assertfail+0x24/0x28 fs/btrfs/messages.c:258 btrfs_global_root_insert+0x18c/0x194 fs/btrfs/disk-io.c:1002 load_global_roots_objectid+0x3e0/0x808 fs/btrfs/disk-io.c:2371 load_global_roots fs/btrfs/disk-io.c:2405 [inline] btrfs_read_roots fs/btrfs/disk-io.c:2432 [inline] init_tree_roots+0x7dc/0x17ac fs/btrfs/disk-io.c:2855 open_ctree+0x144c/0x2498 fs/btrfs/disk-io.c:3551 btrfs_fill_super+0x1b4/0x2c8 fs/btrfs/super.c:1152 btrfs_mount_root+0x754/0x868 fs/btrfs/super.c:1521 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:1581 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:3042 path_mount+0x590/0xe20 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __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+0x58/0x168 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 f0002be0 913b8000 97ffde02 (d4210000) ---[ end trace 0000000000000000 ]---