------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/block-group.c:4182 at do_chunk_alloc fs/btrfs/block-group.c:4182 [inline], CPU#0: kworker/u4:9/1148 WARNING: fs/btrfs/block-group.c:4182 at btrfs_chunk_alloc+0x101d/0x15e0 fs/btrfs/block-group.c:4423, CPU#0: kworker/u4:9/1148 Modules linked in: CPU: 0 UID: 0 PID: 1148 Comm: kworker/u4:9 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: events_unbound btrfs_async_reclaim_data_space RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:4182 [inline] RIP: 0010:btrfs_chunk_alloc+0x101f/0x15e0 fs/btrfs/block-group.c:4423 Code: 27 25 ae fd e9 6d 01 00 00 e8 8d 2d 93 fd 84 c0 74 22 e8 14 25 ae fd e9 5a 01 00 00 e8 0a 25 ae fd 48 8d 3d 33 f5 22 0c 89 de <67> 48 0f b9 3a e9 b3 fc ff ff e8 42 1e 93 07 41 89 c6 31 ff 89 c6 RSP: 0018:ffffc900015cf790 EFLAGS: 00010293 RAX: ffffffff8417ac36 RBX: ffffffffffffffe4 RCX: ffff8880369ea500 RDX: 0000000000000000 RSI: 00000000ffffffe4 RDI: ffffffff903aa170 RBP: 0000000000000000 R08: ffff8880369ea500 R09: 0000000000000003 R10: 00000000fffffffb R11: 0000000000000000 R12: 1ffff11003f98316 R13: ffff888046f3a060 R14: ffff888040d5c001 R15: ffff88803350e800 FS: 0000000000000000(0000) GS:ffff88808c881000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff8728cc50 CR3: 000000000e74a000 CR4: 0000000000352ef0 Call Trace: flush_space+0x3fb/0xe20 fs/btrfs/space-info.c:908 do_async_reclaim_data_space+0x145/0x520 fs/btrfs/space-info.c:1448 btrfs_async_reclaim_data_space+0x41/0x90 fs/btrfs/space-info.c:1512 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 25 ae fd e9 6d and $0x6de9fdae,%eax 5: 01 00 add %eax,(%rax) 7: 00 e8 add %ch,%al 9: 8d 2d 93 fd 84 c0 lea -0x3f7b026d(%rip),%ebp # 0xc084fda2 f: 74 22 je 0x33 11: e8 14 25 ae fd call 0xfdae252a 16: e9 5a 01 00 00 jmp 0x175 1b: e8 0a 25 ae fd call 0xfdae252a 20: 48 8d 3d 33 f5 22 0c lea 0xc22f533(%rip),%rdi # 0xc22f55a 27: 89 de mov %ebx,%esi * 29: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2e: e9 b3 fc ff ff jmp 0xfffffce6 33: e8 42 1e 93 07 call 0x7931e7a 38: 41 89 c6 mov %eax,%r14d 3b: 31 ff xor %edi,%edi 3d: 89 c6 mov %eax,%esi