WARNING in btrfs_commit_transaction (2)

Status: upstream: reported on 2026/08/31 12:10
Reported-by: syzbot+e707c9861ba275a73c1e@syzkaller.appspotmail.com
First crash: 47d, last: 2d03h
▶ ▼ Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs -1 syz, C inconclusive done 3 1351d 1445d 22/29 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) -1 1 1408d 1408d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs -1 syz, C 2 1327d 1699d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream -1 syz, C error 27 16d 1102d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-6.6 WARNING in btrfs_commit_transaction -1 13 267d 480d 0/2 auto-obsoleted due to no activity on 2026/05/03 02:57
linux-4.19 WARNING in btrfs_commit_transaction -1 1 2021d 2021d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-5.15 WARNING in btrfs_commit_transaction origin:lts-only -1 syz, C done 84 30d 1279d 0/3 upstream: reported C repro on 2023/04/17 01:21
upstream WARNING in btrfs_commit_transaction (2) prio:low btrfs -1 syz, C done error 1226 12d 1290d 0/29 upstream: reported C repro on 2023/04/06 02:24

Sample crash report:
BTRFS info (device loop0: state M): 0 free space entries at or bigger than 4096 bytes
BTRFS info (device loop0: state M): 3223552 bytes available across all block groups
BTRFS warning (device loop0: state M): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 20301 at fs/btrfs/transaction.c:2033 cleanup_transaction fs/btrfs/transaction.c:2033 [inline]
WARNING: CPU: 0 PID: 20301 at fs/btrfs/transaction.c:2033 btrfs_commit_transaction+0x2d00/0x3500 fs/btrfs/transaction.c:2609
Modules linked in:
CPU: 0 PID: 20301 Comm: syz.0.5185 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:2033 [inline]
RIP: 0010:btrfs_commit_transaction+0x2d00/0x3500 fs/btrfs/transaction.c:2609
Code: be 01 00 00 00 49 8d 7f e8 e8 0c cc ab 00 e9 2c d9 ff ff e8 92 a1 fe fd 48 c7 c7 00 a5 0d 8b 8b 5c 24 18 89 de e8 20 60 c8 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:ffffc9001928f7c0 EFLAGS: 00010246
RAX: f2304285aeb27f00 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9000c9c9000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc9001928fae8 R08: ffffc9001928f4c7 R09: 1ffff92003251e98
R10: dffffc0000000000 R11: fffff52003251e99 R12: fffff52003251f1c
R13: ffff88807e2bd000 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fd7eab1d6c0(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d824220 CR3: 000000005504b000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 btrfs_set_free_space_cache_v1_active+0x71/0x1c0 fs/btrfs/free-space-cache.c:4158
 btrfs_remount_cleanup fs/btrfs/super.c:1684 [inline]
 btrfs_remount+0x74d/0x1630 fs/btrfs/super.c:1880
 reconfigure_super+0x229/0x8e0 fs/super.c:1151
 do_remount fs/namespace.c:2927 [inline]
 path_mount+0xcfe/0xfa0 fs/namespace.c:3705
 do_mount fs/namespace.c:3726 [inline]
 __do_sys_mount fs/namespace.c:3935 [inline]
 __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912
 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:0x7fd7e9b9f7ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fd7eab1ce58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd7eab1cee0 RCX: 00007fd7e9b9f7ca
RDX: 0000200000000f40 RSI: 0000200000000f00 RDI: 0000000000000000
RBP: 0000200000000f40 R08: 00007fd7eab1cee0 R09: 0000000001a6a038
R10: 0000000001a6a038 R11: 0000000000000246 R12: 0000200000000f00
R13: 00007fd7eab1cea0 R14: 0000000000000000 R15: 0000200000002cc0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/15 20:37 linux-6.6.y cecd39af8a1a 3f2522c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/08/31 12:09 linux-6.6.y a4a971135a2f 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.