syzbot


WARNING in cleanup_transaction

Status: upstream: reported C repro on 2023/08/15 21:58
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+0fcc68327b1efc17491a@syzkaller.appspotmail.com
First crash: 283d, last: 19d
Bug presence (1)
Date Name Commit Repro Result
2023/08/15 upstream (ToT) 4853c74bd7ab C [report] WARNING in cleanup_transaction
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in cleanup_transaction 1 830d 830d 0/1 auto-closed as invalid on 2022/06/14 10:30
android-49 WARNING in cleanup_transaction 1 2227d 2227d 0/3 auto-closed as invalid on 2019/02/22 14:19
linux-4.19 WARNING in cleanup_transaction (2) btrfs C 11 451d 539d 0/1 upstream: reported C repro on 2022/12/03 07:23
upstream WARNING in cleanup_transaction btrfs C error done 100 5h23m 584d 0/26 upstream: reported C repro on 2022/10/19 05:40
linux-4.14 WARNING in cleanup_transaction btrfs C 1 449d 522d 0/1 upstream: reported C repro on 2022/12/19 11:57
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/04/01 07:46 2h29m bisect fix linux-6.1.y job log (0) log
2024/03/01 16:34 1h45m bisect fix linux-6.1.y job log (0) log
2024/01/08 03:08 1h58m bisect fix linux-6.1.y job log (0) log
2023/12/08 21:15 2h07m bisect fix linux-6.1.y job log (0) log
2023/10/11 01:53 1h47m bisect fix linux-6.1.y job log (0) log

Sample crash report:
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 33 at fs/btrfs/transaction.c:1964 cleanup_transaction+0x70c/0x7f0 fs/btrfs/transaction.c:1964
Modules linked in:
CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 6.1.45-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction+0x70c/0x7f0 fs/btrfs/transaction.c:1964
Code: 43 04 fe 0f 0b 43 80 7c 25 00 00 0f 85 3d fa ff ff e9 40 fa ff ff e8 d3 43 04 fe 48 c7 c7 40 96 2d 8b 44 89 f6 e8 34 a1 cc fd <0f> 0b e9 91 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c e9 f9 ff
RSP: 0018:ffffc90000aa7660 EFLAGS: 00010246
RAX: 7f5b51a9f1739900 RBX: 0000000000000000 RCX: ffff8880152c1dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000aa7790 R08: ffffffff81525dfe R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff1100df08d84 R14: 00000000ffffffe4 R15: ffff88806f846c20
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8ba6e13010 CR3: 0000000076775000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_commit_transaction+0x2d88/0x37e0 fs/btrfs/transaction.c:2550
 flush_space+0x9a3/0xe60 fs/btrfs/space-info.c:811
 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:1084
 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292
 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439
 kthread+0x26e/0x300 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
2023/08/15 21:58 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in cleanup_transaction
2024/05/05 13:18 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/05/03 22:22 linux-6.1.y 909ba1f1b414 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/04/27 18:17 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/04/15 06:09 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/04/13 20:40 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/04/13 20:40 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/04/10 05:14 linux-6.1.y 347385861c50 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/01/22 02:57 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2024/01/10 23:26 linux-6.1.y 7c58bfa711cb 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2023/11/08 08:41 linux-6.1.y 4a61839152cc 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cleanup_transaction
2023/08/29 13:02 linux-6.1.y 024f76bca9d0 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cleanup_transaction
* Struck through repros no longer work on HEAD.