BTRFS info (device loop0 state MC): resize thread pool 2097158 -> 3 assertion failed: fs_root, in fs/btrfs/relocation.c:4389 ------------[ cut here ]------------ kernel BUG at fs/btrfs/relocation.c:4389! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5094 Comm: syz-executor157 Not tainted 6.11.0-syzkaller-02574-ga430d95c5efa #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:btrfs_recover_relocation+0x1b6f/0x1ba0 fs/btrfs/relocation.c:4389 Code: a3 cd fd eb 05 e8 21 a3 cd fd 48 c7 c7 c0 80 4d 8c 48 c7 c6 40 82 4d 8c 48 c7 c2 40 81 4d 8c b9 25 11 00 00 e8 22 b6 f2 07 90 <0f> 0b e8 fa a2 cd fd 48 c7 c7 c0 80 4d 8c 48 c7 c6 60 81 4d 8c 48 RSP: 0018:ffffc90002d5f6a0 EFLAGS: 00010246 RAX: 0000000000000038 RBX: ffff88803ce64048 RCX: 6a2b9d5a85b53000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002d5f830 R08: ffffffff81741d3c R09: 1ffff11003fc519a R10: dffffc0000000000 R11: ffffed1003fc519b R12: dffffc0000000000 R13: 0000000000000000 R14: ffffc90002d5f7a0 R15: ffff888012367000 FS: 000055557f4cd380(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005654933b2338 CR3: 000000001a906000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: btrfs_start_pre_rw_mount+0xe15/0x1300 fs/btrfs/disk-io.c:3047 btrfs_remount_rw fs/btrfs/super.c:1309 [inline] btrfs_reconfigure+0xae6/0x2d40 fs/btrfs/super.c:1534 btrfs_reconfigure_for_mount fs/btrfs/super.c:2020 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2079 [inline] btrfs_get_tree+0x918/0x1920 fs/btrfs/super.c:2115 vfs_get_tree+0x90/0x2b0 fs/super.c:1800 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4055 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4032 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f79949efed9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ffeb65aa988 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79949efed9 RDX: 0000000020001240 RSI: 0000000020001200 RDI: 00000000200011c0 RBP: 00007f7994a695f0 R08: 0000000000000000 R09: 000055557f4ce4c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffeb65aa9b0 R13: 00007ffeb65aabd8 R14: 431bde82d7b634db R15: 00007f7994a3903b Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:btrfs_recover_relocation+0x1b6f/0x1ba0 fs/btrfs/relocation.c:4389 Code: a3 cd fd eb 05 e8 21 a3 cd fd 48 c7 c7 c0 80 4d 8c 48 c7 c6 40 82 4d 8c 48 c7 c2 40 81 4d 8c b9 25 11 00 00 e8 22 b6 f2 07 90 <0f> 0b e8 fa a2 cd fd 48 c7 c7 c0 80 4d 8c 48 c7 c6 60 81 4d 8c 48 RSP: 0018:ffffc90002d5f6a0 EFLAGS: 00010246 RAX: 0000000000000038 RBX: ffff88803ce64048 RCX: 6a2b9d5a85b53000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90002d5f830 R08: ffffffff81741d3c R09: 1ffff11003fc519a R10: dffffc0000000000 R11: ffffed1003fc519b R12: dffffc0000000000 R13: 0000000000000000 R14: ffffc90002d5f7a0 R15: ffff888012367000 FS: 000055557f4cd380(0000) GS:ffff88801fe00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558482e38f60 CR3: 000000001a906000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400