syzbot


WARNING in btrfs_commit_transaction

Status: upstream: reported C repro on 2023/10/11 08:58
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+3b29376a259c4c012cc0@syzkaller.appspotmail.com
First crash: 367d, last: 14d
Bug presence (1)
Date Name Commit Repro Result
2024/01/27 upstream (ToT) 3a5879d495b2 C [report] WARNING in btrfs_commit_transaction
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs C inconclusive done 3 616d 709d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) 1 673d 673d 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 592d 964d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-4.19 WARNING in btrfs_commit_transaction 1 1286d 1286d 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 43 8d07h 544d 0/3 upstream: reported C repro on 2023/04/17 01:21
upstream WARNING in btrfs_commit_transaction (2) btrfs C done 286 21h12m 555d 0/28 upstream: reported C repro on 2023/04/06 02:24
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/09/28 08:34 1h08m bisect fix linux-6.1.y OK (0) job log log
2024/08/20 13:48 3h29m bisect fix linux-6.1.y OK (0) job log log
2024/07/07 19:23 1h53m bisect fix linux-6.1.y OK (0) job log log
2024/04/19 02:00 2h44m bisect fix linux-6.1.y OK (0) job log log
2024/03/16 16:21 1h31m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
BTRFS warning (device loop4): Skipping commit of aborted transaction.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9 at fs/btrfs/transaction.c:1992 cleanup_transaction fs/btrfs/transaction.c:1992 [inline]
WARNING: CPU: 0 PID: 9 at fs/btrfs/transaction.c:1992 btrfs_commit_transaction+0x33b4/0x3c70 fs/btrfs/transaction.c:2578
Modules linked in:
CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.1.75-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:1992 [inline]
RIP: 0010:btrfs_commit_transaction+0x33b4/0x3c70 fs/btrfs/transaction.c:2578
Code: 89 e7 e8 2f ec af 00 e9 24 d3 ff ff e8 a5 c3 02 fe e9 fe fe ff ff e8 9b c3 02 fe 48 c7 c7 00 a3 2d 8b 8b 34 24 e8 ec c4 ca fd <0f> 0b e9 a8 f8 ff ff e8 80 c3 02 fe e9 be fe ff ff 89 d9 80 e1 07
RSP: 0018:ffffc900000e7740 EFLAGS: 00010246
RAX: 2ec23c6e76928800 RBX: ffff8880232ac001 RCX: ffff88813fec0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900000e7a70 R08: ffffffff8152770e R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88813fec1268
R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff1100e6c69d6
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7d89a98000 CR3: 0000000078c43000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_space+0x9a3/0xe60 fs/btrfs/space-info.c:807
 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:1080
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/27 06:35 linux-6.1.y 883d1a956208 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/05/28 20:15 linux-6.1.y 88690811da69 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/05/27 10:22 linux-6.1.y 88690811da69 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/05/27 10:22 linux-6.1.y 88690811da69 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/05/25 21:59 linux-6.1.y 88690811da69 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/05/07 15:09 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/04/29 06:18 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/04/26 13:26 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/04/24 01:59 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2024/02/11 03:50 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2023/11/27 06:32 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
2023/10/11 08:58 linux-6.1.y 082280fe94a0 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.