syzbot


WARNING in btrfs_finish_one_ordered

Status: upstream: reported C repro on 2023/07/16 16:58
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+6e54e639e7b934d64304@syzkaller.appspotmail.com
First crash: 497d, last: 12h59m
Cause bisection: introduced by (bisect log) [merge commit]:
commit 9930f518b6a82ff10a3d13e0cbde05cce04f5930
Author: Dave Airlie <airlied@redhat.com>
Date: Fri Jun 16 20:11:59 2023 +0000

  Merge tag 'drm-misc-fixes-2023-06-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Crash: WARNING in btrfs_commit_transaction (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Apr 2024) 0 (1) 2024/04/12 13:18
[syzbot] [btrfs?] WARNING in btrfs_finish_one_ordered 0 (2) 2023/08/10 18:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/10/20 02:25 16m retest repro upstream report log
2024/09/25 04:22 19m retest repro upstream error
2024/09/25 04:22 19m retest repro upstream report log
2024/09/25 04:22 10m retest repro upstream report log
2024/09/25 04:22 19m retest repro upstream report log
2024/09/05 04:52 18m retest repro upstream report log
2024/07/11 08:25 17m retest repro upstream report log
2024/06/27 06:01 27m retest repro upstream report log
2024/06/27 06:01 28m retest repro upstream report log
2024/06/27 04:11 41m retest repro upstream report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/08/11 00:36 1h21m bisect fix upstream OK (0) job log log
2024/02/19 13:17 3h26m bisect fix upstream OK (0) job log log
2023/12/31 00:34 1h48m bisect fix upstream OK (0) job log log
2023/11/30 19:35 1h20m bisect fix upstream OK (0) job log log
2023/10/10 04:30 2h48m bisect fix upstream OK (0) job log log

Sample crash report:
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 32 at fs/btrfs/inode.c:3279 btrfs_finish_one_ordered+0x1d42/0x2240 fs/btrfs/inode.c:3279
Modules linked in:
CPU: 1 PID: 32 Comm: kworker/u4:2 Not tainted 6.5.0-rc5-syzkaller-00063-g374a7f47bf40 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: btrfs-endio-write btrfs_work_helper
RIP: 0010:btrfs_finish_one_ordered+0x1d42/0x2240 fs/btrfs/inode.c:3279
Code: c6 80 af b5 8a 48 c7 c7 00 9a b5 8a e8 67 3a f6 fd 0f 0b e8 80 d8 12 fe 8b b5 10 ff ff ff 48 c7 c7 00 ab b5 8a e8 ce 99 d9 fd <0f> 0b e9 b1 fc ff ff e8 62 d8 12 fe 8b b5 10 ff ff ff 48 c7 c7 00
RSP: 0018:ffffc90000c9fad8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888079be3c20 RCX: 0000000000000000
RDX: ffff888013af0140 RSI: ffffffff814be3c6 RDI: 0000000000000001
RBP: ffffc90000c9fc58 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888071f926e0
R13: 0000000000000001 R14: ffff888071f92690 R15: ffff888079be3c68
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c26c23060 CR3: 000000002a825000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_work_helper+0x20b/0xba0 fs/btrfs/async-thread.c:314
 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600
 worker_thread+0x687/0x1110 kernel/workqueue.c:2751
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/10 18:38 upstream 374a7f47bf40 4df3089c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_finish_one_ordered
2024/04/04 02:43 upstream c85af715cac0 51c4dcff .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_finish_one_ordered
2024/04/02 22:02 upstream b1e6ec0a0fd0 f861ecca .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_finish_one_ordered
2024/04/01 11:01 upstream 39cd87c4eb2b 6baf5069 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_finish_one_ordered
2024/03/30 16:59 upstream 486291a0e624 6baf5069 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_finish_one_ordered
2024/03/29 21:48 upstream 4535e1a4174c c52bcb23 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_finish_one_ordered
2023/10/30 16:06 upstream ffc253263a13 b5729d82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_finish_one_ordered
2024/11/20 17:39 upstream bf9aa14fc523 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_finish_one_ordered
2024/11/13 02:43 upstream 3022e9d00ebe 62026c85 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_finish_one_ordered
2024/10/24 14:35 upstream c2ee9f594da8 c08e46d6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_finish_one_ordered
2024/10/23 10:43 upstream c2ee9f594da8 15fa2979 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_finish_one_ordered
2024/09/11 04:09 upstream 8d8d276ba2fb 8ab55d0e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_finish_one_ordered
2023/07/12 16:55 upstream 3f01e9fed845 979d5fe2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_finish_one_ordered
* Struck through repros no longer work on HEAD.