BTRFS error (device loop1: state EA): Transaction aborted (error -30) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 15133 at fs/btrfs/transaction.c:145 btrfs_put_transaction+0x37f/0x3e0 Modules linked in: CPU: 1 PID: 15133 Comm: kworker/u4:14 Not tainted 6.2.0-rc7-syzkaller-00231-g711e9a4d52bf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: btrfs-qgroup-rescan btrfs_work_helper RIP: 0010:btrfs_put_transaction+0x37f/0x3e0 fs/btrfs/transaction.c:144 Code: 48 89 da e8 83 f5 17 07 e9 00 fe ff ff e8 c9 fd fe fd 0f 0b e9 ef fc ff ff e8 bd fd fe fd 0f 0b e9 72 fd ff ff e8 b1 fd fe fd <0f> 0b e9 9b fd ff ff e8 a5 fd fe fd 48 89 df be 03 00 00 00 48 83 RSP: 0000:ffffc90006197500 EFLAGS: 00010293 RAX: ffffffff838cd49f RBX: ffff888029834330 RCX: ffff88801d318000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff838cd19f R09: ffffed1005306803 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807c45c000 R13: ffff888029834000 R14: ffff888029834000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71795f4000 CR3: 00000000486fd000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cleanup_transaction+0x5ed/0x780 fs/btrfs/transaction.c:2032 btrfs_commit_transaction+0x296f/0x3310 fs/btrfs/transaction.c:2553 btrfs_qgroup_rescan_worker+0x1bb6/0x1c40 fs/btrfs/qgroup.c:3394 btrfs_work_helper+0x43a/0xe90 fs/btrfs/async-thread.c:280 process_one_work+0x8fa/0x1370 kernel/workqueue.c:2289 worker_thread+0xa63/0x1210 kernel/workqueue.c:2436 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308