syzbot


WARNING in btrfs_finish_ordered_io

Status: auto-obsoleted due to no activity on 2023/08/20 13:44
Reported-by: syzbot+613e47e833a614024cbd@syzkaller.appspotmail.com
First crash: 598d, last: 598d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_finish_ordered_io btrfs C error inconclusive 6 275d 712d 0/28 upstream: reported C repro on 2022/12/29 11:49

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 13536 at fs/btrfs/inode.c:3310 btrfs_finish_ordered_io+0x1308/0x16e8 fs/btrfs/inode.c:3310
Modules linked in:
CPU: 1 PID: 13536 Comm: kworker/u4:16 Not tainted 6.1.25-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: btrfs-endio-write btrfs_work_helper
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_finish_ordered_io+0x1308/0x16e8 fs/btrfs/inode.c:3310
lr : btrfs_finish_ordered_io+0x1308/0x16e8 fs/btrfs/inode.c:3310
sp : ffff80002bf178c0
x29: ffff80002bf17a40 x28: ffff00012c7e42f8 x27: 00000000ffffffe4
x26: 0000000000000001 x25: 0000000000000000 x24: ffff000128fae638
x23: ffff000128dd7380 x22: ffff00012c7e4340 x21: 0000000000000000
x20: dfff800000000000 x19: 1fffe000251f5cc7 x18: ffff80002bf16cc0
x17: 0000000000000000 x16: ffff8000120dc5fc x15: 0000000000000000
x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001
x11: ff808000081ad698 x10: 0000000000000000 x9 : 61ebd77c1d3dbf00
x8 : 61ebd77c1d3dbf00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80002bf171b8 x4 : ffff800015662580 x3 : ffff80000858403c
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
 btrfs_finish_ordered_io+0x1308/0x16e8 fs/btrfs/inode.c:3310
 finish_ordered_fn+0x20/0x30 fs/btrfs/ordered-data.c:280
 btrfs_work_helper+0x31c/0xd98 fs/btrfs/async-thread.c:280
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436
 kthread+0x24c/0x2d4 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
irq event stamp: 1984794
hardirqs last  enabled at (1984793): [<ffff800008341900>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (1984794): [<ffff8000120d82b4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (1982922): [<ffff800008020d74>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (1982922): [<ffff800008020d74>] __do_softirq+0xc14/0xea0 kernel/softirq.c:600
softirqs last disabled at (1982443): [<ffff80000802a948>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
---[ end trace 0000000000000000 ]---
BTRFS info (device loop3: state EA): dumping space info:
BTRFS info (device loop3: state EA): space_info DATA+METADATA has 159744 free, is full
BTRFS info (device loop3: state EA): space_info total=11534336, used=10022912, pinned=0, reserved=8192, may_use=1343488, readonly=0 zone_unusable=0
BTRFS info (device loop3: state EA): space_info SYSTEM has 4190208 free, is not full
BTRFS info (device loop3: state EA): space_info total=4194304, used=4096, pinned=0, reserved=0, may_use=0, readonly=0 zone_unusable=0
BTRFS info (device loop3: state EA): global_block_rsv: size 917504 reserved 917504
BTRFS info (device loop3: state EA): trans_block_rsv: size 0 reserved 0
BTRFS info (device loop3: state EA): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop3: state EA): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop3: state EA): delayed_refs_rsv: size 262144 reserved 262144
BTRFS: error (device loop3: state EA) in btrfs_finish_ordered_io:3310: errno=-28 No space left

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/22 13:44 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_finish_ordered_io
* Struck through repros no longer work on HEAD.