syzbot


WARNING in btrfs_finish_ordered_io

Status: upstream: reported C repro on 2022/12/29 11:49
Subsystems: btrfs (incorrect?)
Reported-by: syzbot+b3a2926f65a93a3cf55b@syzkaller.appspotmail.com
First crash: 90d, last: 22d

Cause bisection: failed (error log, bisect log)

Sample crash report:
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 56 at fs/btrfs/inode.c:3337 btrfs_finish_ordered_io+0x1a8d/0x1cb0 fs/btrfs/inode.c:3337
Modules linked in:
CPU: 1 PID: 56 Comm: kworker/u4:4 Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: btrfs-endio-write btrfs_work_helper
RIP: 0010:btrfs_finish_ordered_io+0x1a8d/0x1cb0 fs/btrfs/inode.c:3337
Code: a0 39 8b 44 89 ee 31 c0 e8 60 e8 c5 fd 0f 0b e9 07 fd ff ff e8 94 f8 fe fd 48 c7 c7 c0 a0 39 8b 44 89 ee 31 c0 e8 43 e8 c5 fd <0f> 0b e9 92 fd ff ff e8 77 f8 fe fd 48 c7 c7 c0 a0 39 8b 44 89 ee
RSP: 0018:ffffc900015779e0 EFLAGS: 00010246
RAX: b2dc849054a38500 RBX: ffff88807d05c001 RCX: ffff8880190657c0
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90001577bc0 R08: ffffffff816f2c9d R09: fffffbfff20fc24a
R10: fffffbfff20fc24a R11: 1ffffffff20fc249 R12: 0000000000000000
R13: 00000000ffffffe4 R14: ffff88807450f1a0 R15: 1ffff1100e8a1e34
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555cfa377900 CR3: 00000000270a6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_work_helper+0x312/0x850 fs/btrfs/async-thread.c:280
 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2023/02/03 00:09 upstream edb9b8f380c3 ab32d508 .config console log report syz C
* Struck through repros no longer work on HEAD.
Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2023/01/01 15:16 upstream e4cf7c25bae5 ab32d508 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in btrfs_finish_ordered_io
ci2-upstream-fs 2022/12/25 11:41 upstream 72a85e2b0a1e 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in btrfs_finish_ordered_io
ci2-upstream-fs 2022/12/31 07:47 upstream bff687b3dad6 ab32d508 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in btrfs_finish_ordered_io
ci-upstream-linux-next-kasan-gce-root 2023/03/03 22:19 linux-next 1acf39ef8f14 f8902b57 .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in btrfs_finish_ordered_io
* Struck through repros no longer work on HEAD.