syzbot


WARNING in btrfs_run_delayed_refs

Status: upstream: reported C repro on 2023/04/02 18:59
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+7e32a3da87c746be16c0@syzkaller.appspotmail.com
First crash: 552d, last: 1d03h
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/16 linux-5.15.y (ToT) b0ece631f84a C [report] WARNING in btrfs_run_delayed_refs
2023/05/16 upstream (ToT) f1fcbaa18b28 C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in btrfs_run_delayed_refs btrfs C error 9 584d 964d 0/1 upstream: reported C repro on 2022/02/14 22:12
upstream WARNING in btrfs_run_delayed_refs (2) btrfs C done 25 29d 472d 0/28 upstream: reported C repro on 2023/06/22 14:13
upstream WARNING in btrfs_run_delayed_refs btrfs C error done 15 607d 720d 22/28 fixed on 2023/03/15 11:57
linux-4.14 WARNING in btrfs_run_delayed_refs btrfs C 1 606d 606d 0/1 upstream: reported C repro on 2023/02/08 10:50
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/05 11:25 14m retest repro linux-5.15.y report log
2024/10/05 11:25 13m retest repro linux-5.15.y report log
2024/10/05 11:25 13m retest repro linux-5.15.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/09/02 05:13 3m fix candidate upstream error job log
2024/07/09 05:48 1m fix candidate upstream error job log
2024/03/08 00:14 0m fix candidate upstream error job log
2024/02/02 20:08 0m fix candidate upstream error job log
2023/12/17 13:53 1m fix candidate upstream error job log
2023/11/16 03:03 1m fix candidate upstream error job log
2023/10/11 17:05 0m fix candidate upstream error job log
2023/10/07 10:15 0m bisect fix linux-5.15.y error job log

Sample crash report:
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
BTRFS error (device loop0): failed to run delayed ref for logical 5242880 num_bytes 4096 type 176 action 1 ref_mod 1: -12
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4084 at fs/btrfs/extent-tree.c:2158 btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158
Modules linked in:
CPU: 0 PID: 4084 Comm: syz-executor393 Not tainted 5.15.165-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158
lr : btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158
sp : ffff80001cd377b0
x29: ffff80001cd377c0 x28: dfff800000000000 x27: ffff0000c87ae024
x26: 00000000fffffff4 x25: ffff0000ddbd63c8 x24: 1fffe0001bb7ac79
x23: ffff0000ddbd63c8 x22: 0000000000000000 x21: 0000000000000006
x20: ffff0000c87ae000 x19: ffff0000ddbd6370 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011abc7d0 x15: 00000000ffffffff
x14: ffff0000dab90000 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : b5da3fc4bcf16800
x8 : b5da3fc4bcf16800 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001cd36f18 x4 : ffff800014b9faa0 x3 : ffff800008555e58
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000026
Call trace:
 btrfs_run_delayed_refs+0x408/0x47c fs/btrfs/extent-tree.c:2158
 btrfs_commit_transaction+0x1b8/0x30f0 fs/btrfs/transaction.c:2166
 btrfs_ioctl_set_fslabel+0x2e8/0x39c fs/btrfs/ioctl.c:4706
 btrfs_ioctl+0x50c/0xa5c fs/btrfs/ioctl.c:4933
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 71386
hardirqs last  enabled at (71385): [<ffff80000832c0d0>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (71386): [<ffff800011ab7e5c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (71372): [<ffff8000081b6d74>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (71372): [<ffff8000081b6d74>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (71307): [<ffff8000081b740c>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (71307): [<ffff8000081b740c>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (71307): [<ffff8000081b740c>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (71307): [<ffff8000081b740c>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace c941f059cf75a794 ]---
BTRFS: error (device loop0) in btrfs_run_delayed_refs:2158: errno=-12 Out of memory
BTRFS info (device loop0): forced readonly

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/24 20:04 linux-5.15.y fa93fa65db6e d7d32352 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2024/01/21 19:02 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/04/02 19:34 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2024/08/24 19:16 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2024/07/26 15:12 linux-5.15.y 7c6d66f0266f 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2024/01/21 18:34 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/07/16 22:59 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_run_delayed_refs
2023/08/14 04:40 linux-5.15.y 24c4de4069cb 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/07/09 10:09 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/07/08 12:33 linux-5.15.y d54cfc420586 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/06/23 12:15 linux-5.15.y f67653019430 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/06/02 19:03 linux-5.15.y 0ab06468cbd1 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/04/27 20:04 linux-5.15.y f48aeeaaa64c 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/04/08 23:51 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
2023/04/02 18:59 linux-5.15.y c957cbb87315 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_run_delayed_refs
* Struck through repros no longer work on HEAD.