syzbot


WARNING in btrfs_commit_transaction

Status: upstream: reported on 2025/06/24 18:47
Reported-by: syzbot+f98a03ab65ae4389e567@syzkaller.appspotmail.com
First crash: 217d, last: 5d13h
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs -1 C inconclusive done 3 1089d 1182d 22/29 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) -1 1 1146d 1146d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs -1 C 2 1065d 1437d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream -1 C 18 22d 840d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-4.19 WARNING in btrfs_commit_transaction -1 1 1759d 1759d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-5.15 WARNING in btrfs_commit_transaction origin:lts-only -1 C done 81 12d 1017d 0/3 upstream: reported C repro on 2023/04/17 01:21
upstream WARNING in btrfs_commit_transaction (2) btrfs -1 C done 1214 1d10h 1028d 0/29 upstream: reported C repro on 2023/04/06 02:24

Sample crash report:
BTRFS info (device loop7): enabling ssd optimizations
BTRFS warning (device loop7: state M): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 14650 at fs/btrfs/transaction.c:2004 cleanup_transaction fs/btrfs/transaction.c:2004 [inline]
WARNING: CPU: 0 PID: 14650 at fs/btrfs/transaction.c:2004 btrfs_commit_transaction+0x2f2d/0x37c0 fs/btrfs/transaction.c:2587
Modules linked in:
CPU: 0 PID: 14650 Comm: syz.7.1599 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2004 [inline]
RIP: 0010:btrfs_commit_transaction+0x2f2d/0x37c0 fs/btrfs/transaction.c:2587
Code: fe be 01 00 00 00 4c 89 ef e8 7f 21 aa 00 e9 fe d6 ff ff e8 15 ef 07 fe 48 c7 c7 40 07 0d 8b 8b 5c 24 30 89 de e8 63 b3 d1 fd <0f> 0b e9 6c f9 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 23 d2 ff
RSP: 0018:ffffc9000cf877c0 EFLAGS: 00010246
RAX: 9ec97bf117888100 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9000c249000 RSI: 0000000000011f0f RDI: 0000000000011f10
RBP: ffffc9000cf87ae8 R08: ffffc9000cf873c7 R09: 1ffff920019f0e78
R10: dffffc0000000000 R11: fffff520019f0e79 R12: ffff88802e4e51f8
R13: ffff8880282e6c68 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f4f4f66b6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdf4bea0291 CR3: 000000004da73000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 btrfs_set_free_space_cache_v1_active+0x71/0x1c0 fs/btrfs/free-space-cache.c:4151
 btrfs_remount_cleanup fs/btrfs/super.c:1684 [inline]
 btrfs_remount+0x1085/0x1530 fs/btrfs/super.c:1861
 reconfigure_super+0x21e/0x8a0 fs/super.c:1151
 do_remount fs/namespace.c:2927 [inline]
 path_mount+0xd2f/0xff0 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/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4f4e79bf4a
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:00007f4f4f66ae58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4f4f66aee0 RCX: 00007f4f4e79bf4a
RDX: 0000200000000180 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 0000200000000180 R08: 00007f4f4f66aee0 R09: 0000000002042023
R10: 0000000002042023 R11: 0000000000000246 R12: 0000200000000100
R13: 00007f4f4f66aea0 R14: 0000000000000000 R15: 00002000000002c0
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/23 02:56 linux-6.6.y cbb31f77b879 82c9c083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/01/21 16:03 linux-6.6.y cbb31f77b879 6f1aa2f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/01/15 12:16 linux-6.6.y c596736dadab d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/01/08 13:42 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/01/07 19:41 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2026/01/06 09:18 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/12/25 18:25 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/12/22 05:50 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/12/21 20:26 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/11/30 05:34 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/09/15 08:08 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/06/24 18:47 linux-6.6.y 6282921b6825 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in btrfs_commit_transaction
2025/06/24 18:47 linux-6.6.y 6282921b6825 26d77996 .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.