syzbot
WARNING in btrfs_commit_transaction (2)
Status:
upstream: reported on 2026/08/31 12:10
Reported-by: syzbot+e707c9861ba275a73c1e@syzkaller.appspotmail.com
First crash: 93d, last: 16d
Sample crash report:
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 63 at fs/btrfs/transaction.c:2039 cleanup_transaction fs/btrfs/transaction.c:2039 [inline]
WARNING: CPU: 1 PID: 63 at fs/btrfs/transaction.c:2039 btrfs_commit_transaction+0x2b36/0x33a0 fs/btrfs/transaction.c:2621
Modules linked in:
CPU: 1 PID: 63 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2039 [inline]
RIP: 0010:btrfs_commit_transaction+0x2b36/0x33a0 fs/btrfs/transaction.c:2621
Code: 00 00 00 49 8d 7f e8 e8 e8 2c ac 00 e9 45 db ff ff e8 4e ea 04 fe 48 c7 c7 60 a2 2c 8b 44 8b 74 24 30 44 89 f6 e8 ea 8e ce fd <0f> 0b e9 d3 f9 ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 00 d6
RSP: 0018:ffffc900015e7700 EFLAGS: 00010246
RAX: 4ee4bc048c16a900 RBX: 0000000000000000 RCX: ffff888020ee0000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffc900015e79d0 R08: ffffc900015e7307 R09: 1ffff920002bce60
R10: dffffc0000000000 R11: fffff520002bce61 R12: ffff88802eba0000
R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888020ee1270
FS: 0000000000000000(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000460000 CR3: 000000005bd2c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<TASK>
flush_space+0x9b8/0xcd0 fs/btrfs/space-info.c:831
btrfs_async_reclaim_metadata_space+0x26b/0x330 fs/btrfs/space-info.c:1100
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
* Struck through repros no longer work on HEAD.