syzbot


WARNING in btrfs_commit_transaction

Status: upstream: reported on 2025/06/24 18:47
Reported-by: syzbot+f98a03ab65ae4389e567@syzkaller.appspotmail.com
First crash: 8h59m, last: 8h58m
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs C inconclusive done 3 871d 965d 22/29 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) 1 928d 928d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs C 2 847d 1219d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream C 18 7d22h 622d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-4.19 WARNING in btrfs_commit_transaction 1 1541d 1541d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-5.15 WARNING in btrfs_commit_transaction origin:lts-only C done 73 3d03h 800d 0/3 upstream: reported C repro on 2023/04/17 01:21
upstream WARNING in btrfs_commit_transaction (2) btrfs C done 885 5h16m 811d 0/29 upstream: reported C repro on 2023/04/06 02:24

Sample crash report:
BTRFS info (device loop3: state M): 3223552 bytes available across all block groups
BTRFS warning (device loop3: state M): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 15004 at fs/btrfs/transaction.c:2004 cleanup_transaction fs/btrfs/transaction.c:2004 [inline]
WARNING: CPU: 0 PID: 15004 at fs/btrfs/transaction.c:2004 btrfs_commit_transaction+0x2ebf/0x3760 fs/btrfs/transaction.c:2587
Modules linked in:
CPU: 0 PID: 15004 Comm: syz.3.3245 Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2004 [inline]
RIP: 0010:btrfs_commit_transaction+0x2ebf/0x3760 fs/btrfs/transaction.c:2587
Code: e8 d6 d3 0d fe be 01 00 00 00 4c 89 ef e8 b9 a5 a7 00 e9 5a d7 ff ff e8 bf d3 0d fe 48 c7 c7 20 fe ec 8a 89 de e8 b1 38 d8 fd <0f> 0b e9 65 f9 ff ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 6f d2
RSP: 0018:ffffc900033677c0 EFLAGS: 00010246
RAX: 9572a03b14670b00 RBX: 00000000ffffffe4 RCX: 0000000000080000
RDX: ffffc9000d18b000 RSI: 000000000007585e RDI: 000000000007585f
RBP: ffffc90003367ae8 R08: ffffffff90d8569f R09: 1ffffffff21b0ad3
R10: dffffc0000000000 R11: fffffbfff21b0ad4 R12: ffff88805fa01540
R13: ffff88805fa01560 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007f162d67c6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3231bff8 CR3: 000000006355d000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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+0x6cc/0x1470 fs/btrfs/super.c:1880
 reconfigure_super+0x21e/0x880 fs/super.c:1151
 do_remount fs/namespace.c:2900 [inline]
 path_mount+0xd19/0xfe0 fs/namespace.c:3685
 do_mount fs/namespace.c:3706 [inline]
 __do_sys_mount fs/namespace.c:3915 [inline]
 __se_sys_mount+0x2da/0x3c0 fs/namespace.c:3892
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f162c7900ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f162d67be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f162d67bef0 RCX: 00007f162c7900ca
RDX: 0000200000000180 RSI: 0000200000000100 RDI: 0000000000000000
RBP: 0000200000000180 R08: 00007f162d67bef0 R09: 00000000001260a9
R10: 00000000001260a9 R11: 0000000000000246 R12: 0000200000000100
R13: 00007f162d67beb0 R14: 0000000000000000 R15: 00002000000001c0
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.