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: 1d18h, last: 1d18h
Sample crash report:
BTRFS info (device loop4): relocating block group 6881280 flags data|metadata
BTRFS info (device loop4): relocating block group 5242880 flags data|metadata
BTRFS warning (device loop4): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 12157 at fs/btrfs/transaction.c:2022 cleanup_transaction fs/btrfs/transaction.c:2022 [inline]
WARNING: CPU: 0 PID: 12157 at fs/btrfs/transaction.c:2022 btrfs_commit_transaction+0x2d00/0x3500 fs/btrfs/transaction.c:2598
Modules linked in:
CPU: 0 PID: 12157 Comm: syz.4.711 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2022 [inline]
RIP: 0010:btrfs_commit_transaction+0x2d00/0x3500 fs/btrfs/transaction.c:2598
Code: be 01 00 00 00 49 8d 7f e8 e8 2c bc ab 00 e9 2c d9 ff ff e8 a2 82 ff fd 48 c7 c7 80 8b 0d 8b 8b 5c 24 18 89 de e8 50 4f c9 fd <0f> 0b e9 4d f9 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 50 d4 ff
RSP: 0018:ffffc9000360f520 EFLAGS: 00010246
RAX: e504da0b88980b00 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9000fb89000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc9000360f850 R08: ffffc9000360f127 R09: 1ffff920006c1e24
R10: dffffc0000000000 R11: fffff520006c1e25 R12: fffff520006c1ec8
R13: ffff88802535c000 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007f311d2206c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f39c1721438 CR3: 000000006a248000 CR4: 00000000003506f0
Call Trace:
<TASK>
prepare_to_relocate+0x392/0x480 fs/btrfs/relocation.c:3610
relocate_block_group+0x14a/0xd00 fs/btrfs/relocation.c:3635
btrfs_relocate_block_group+0x734/0xaa0 fs/btrfs/relocation.c:4096
btrfs_relocate_chunk+0x12a/0x3b0 fs/btrfs/volumes.c:3321
__btrfs_balance+0x1865/0x21e0 fs/btrfs/volumes.c:4073
btrfs_balance+0xc57/0x1130 fs/btrfs/volumes.c:4450
btrfs_ioctl_balance+0x48c/0x710 fs/btrfs/ioctl.c:3653
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:871 [inline]
__se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f311c39e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f311d220028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f311c626090 RCX: 00007f311c39e159
RDX: 0000200000000180 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f311c435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f311c626128 R14: 00007f311c626090 R15: 00007ffec1996098
</TASK>
* Struck through repros no longer work on HEAD.