BTRFS warning (device loop0): checksum verify failed on logical 5337088 mirror 1 wanted 0xe63dbdda found 0xc926492d level 0 BTRFS error (device loop0): level verify failed on logical 5255168 mirror 1 wanted 0 found 1 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: CPU: 0 PID: 3056 at fs/btrfs/block-group.c:4007 do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] WARNING: CPU: 0 PID: 3056 at fs/btrfs/block-group.c:4007 btrfs_chunk_alloc+0xe64/0x1430 fs/btrfs/block-group.c:4248 Modules linked in: CPU: 0 UID: 0 PID: 3056 Comm: kworker/u4:11 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_metadata_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4007 [inline] RIP: 0010:btrfs_chunk_alloc+0xe64/0x1430 fs/btrfs/block-group.c:4248 Code: 00 e8 c0 94 b2 fd 84 c0 74 29 e8 97 5a cc fd e9 62 01 00 00 e8 8d 5a cc fd 90 48 c7 c7 40 cb b0 8b 44 89 f6 e8 6d 67 8f fd 90 <0f> 0b 90 90 e9 9a fc ff ff e8 ae 4f 54 07 89 c3 31 ff 89 c6 e8 a3 RSP: 0018:ffffc9000d507758 EFLAGS: 00010246 RAX: c9d38654b6645800 RBX: ffff888051420001 RCX: ffff88803eed0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: 0000000000000000 R08: ffff88801fe24293 R09: 1ffff11003fc4852 R10: dffffc0000000000 R11: ffffed1003fc4853 R12: dffffc0000000000 R13: ffff888051532800 R14: ffffffffffffffe4 R15: ffff88804441a6f0 FS: 0000000000000000(0000) GS:ffff88808d733000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056009da98760 CR3: 0000000042b96000 CR4: 0000000000352ef0 Call Trace: flush_space+0x30b/0xcd0 fs/btrfs/space-info.c:861 do_async_reclaim_metadata_space+0x144/0x390 fs/btrfs/space-info.c:1158 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1226 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245