syzbot


WARNING in btrfs_add_delayed_iput (2)

Status: upstream: reported on 2025/10/27 03:36
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+e0babece4b4300d51e73@syzkaller.appspotmail.com
First crash: 23d, last: 14h02m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_add_delayed_iput (2) 0 (1) 2025/10/27 03:36
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_add_delayed_iput btrfs -1 2 127d 163d 29/29 fixed on 2025/09/04 16:57

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 30 at fs/btrfs/inode.c:3452 btrfs_add_delayed_iput+0x2e6/0x360 fs/btrfs/inode.c:3452
Modules linked in:
CPU: 1 UID: 0 PID: 30 Comm: ksoftirqd/1 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:btrfs_add_delayed_iput+0x2e6/0x360 fs/btrfs/inode.c:3452
Code: d0 7f 5c fe 48 8b 3b 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 ca d6 cb fd e8 95 c0 fa fd e9 f5 fd ff ff e8 8b c0 fa fd 90 <0f> 0b 90 e9 4f fe ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 81
RSP: 0018:ffffc90000a4f9c0 EFLAGS: 00010246
RAX: ffffffff83c3eca5 RBX: ffff88805faa8000 RCX: ffff88801bacbc00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000100
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000100
R10: dffffc0000000000 R11: ffffed100bf55471 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88805e81be10 R15: 0000000000000200
FS:  0000000000000000(0000) GS:ffff888126ef7000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555567ebe5c8 CR3: 000000002edda000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 btrfs_put_ordered_extent+0x19f/0x470 fs/btrfs/ordered-data.c:635
 blk_update_request+0x57e/0xe60 block/blk-mq.c:998
 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1160
 blk_complete_reqs block/blk-mq.c:1235 [inline]
 blk_done_softirq+0x10a/0x160 block/blk-mq.c:1240
 handle_softirqs+0x22f/0x710 kernel/softirq.c:622
 run_ksoftirqd+0xac/0x210 kernel/softirq.c:1063
 smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/14 16:42 upstream 6da43bbeb691 f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_add_delayed_iput
2025/10/29 00:29 upstream 8eefed8f65cc fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_add_delayed_iput
2025/10/24 19:56 upstream 6fab32bb6508 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_add_delayed_iput
2025/10/23 09:45 upstream 43e9ad0c55a3 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_add_delayed_iput
2025/10/23 03:28 upstream dd72c8fcf6d3 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_add_delayed_iput
2025/11/05 06:54 upstream c9cfc122f037 a6c9c731 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_add_delayed_iput
* Struck through repros no longer work on HEAD.