WARNING in __btrfs_run_delayed_items (3)

Status: upstream: reported on 2026/08/12 00:12
Subsystems: btrfs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+32e33c1af28c9b98ac7d@syzkaller.appspotmail.com
First crash: 105d, last: 23d
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
b3dc38ce repro-c 💥 WARNING in __btrfs_run_delayed_items (3) 2026/10/31 06:12 2026/10/31 06:12 2026/10/31 13:14 2041d3f8
86f1dc4b repro-c 💥 WARNING in __btrfs_run_delayed_items (3) 2026/10/29 01:04 2026/10/29 01:04 2026/10/29 09:30 b1d00f76
6a558d03 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ✅ VMHostTrigger: ❌ ❓ WARNING in __btrfs_run_delayed_items (3) 2026/08/08 23:59 2026/08/08 23:59 2026/08/09 00:29 5d63f80b
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in __btrfs_run_delayed_items (3) 0 (1) 2026/08/12 00:12
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __btrfs_run_delayed_items btrfs -1 syz unreliable unreliable 4 1170d 1172d 0/29 auto-obsoleted due to no activity on 2023/12/16 04:42
upstream WARNING in __btrfs_run_delayed_items (2) prio:high btrfs -1 2 275d 348d 0/29 auto-obsoleted due to no activity on 2026/05/29 13:17

Sample crash report:
------------[ cut here ]------------
btrfs_abort_should_print_stack(__error)
WARNING: fs/btrfs/delayed-inode.c:1161 at __btrfs_run_delayed_items+0x3dd/0x420 fs/btrfs/delayed-inode.c:1161, CPU#0: kworker/u4:9/1060
Modules linked in:
CPU: 0 UID: 0 PID: 1060 Comm: kworker/u4:9 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:__btrfs_run_delayed_items+0x3dd/0x420 fs/btrfs/delayed-inode.c:1161
Code: c1 38 c1 0f 8c be fc ff ff 4c 89 ff e8 8c 2a 02 fe e9 b1 fc ff ff e8 f2 f8 89 fd eb 10 e8 eb f8 89 fd eb 09 e8 e4 f8 89 fd 90 <0f> 0b 90 44 89 e1 f7 d9 e9 41 ff ff ff e8 d1 f8 89 fd 48 c7 c7 40
RSP: 0018:ffffc90001817790 EFLAGS: 00010293
RAX: ffffffff843f24cc RBX: ffff88803e7da8f0 RCX: ffff888037a4a580
RDX: 0000000000000000 RSI: ffffffff9060c980 RDI: 00000000ffffffe4
RBP: 0000000000000001 R08: ffff888037a4a580 R09: 0000000000000003
R10: 00000000fffffffb R11: 0000000000000000 R12: 00000000ffffffe4
R13: ffff8880456651e0 R14: ffff888054814000 R15: 1ffff11007cfb51e
FS:  0000000000000000(0000) GS:ffff88808ac1a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f81793b5664 CR3: 0000000023e51000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 flush_space+0x5fd/0xde0 fs/btrfs/space-info.c:875
 do_async_reclaim_metadata_space+0x3e8/0x940 fs/btrfs/space-info.c:1211
 btrfs_async_reclaim_metadata_space+0x89/0xe0 fs/btrfs/space-info.c:1278
 process_one_work kernel/workqueue.c:3495 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/28 05:21 upstream 62c457528529 96923c60 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __btrfs_run_delayed_items
2026/08/07 17:13 upstream f9a2394a2348 e4ef95d6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __btrfs_run_delayed_items
* Struck through repros no longer work on HEAD.