[v6.1] WARNING in btrfs_run_delayed_refs

4 views
Skip to first unread message

syzbot

unread,
Jan 3, 2025, 9:46:27 AM1/3/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7dc732d24ff7 Linux 6.1.123
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17f856c4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=da1827eaa51b65c3
dashboard link: https://syzkaller.appspot.com/bug?extid=f5d81471b60d6930ec20
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/b77a36eba7b4/disk-7dc732d2.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f5334562da28/vmlinux-7dc732d2.xz
kernel image: https://storage.googleapis.com/syzbot-assets/f0a16f9a500c/Image-7dc732d2.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+f5d814...@syzkaller.appspotmail.com

BTRFS error (device loop4): failed to run delayed ref for logical 5324800 num_bytes 4096 type 176 action 1 ref_mod 1: -28
------------[ cut here ]------------
WARNING: CPU: 1 PID: 177 at fs/btrfs/extent-tree.c:2150 btrfs_run_delayed_refs+0x45c/0x4c0 fs/btrfs/extent-tree.c:2150
Modules linked in:
CPU: 1 PID: 177 Comm: kworker/u4:3 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_run_delayed_refs+0x45c/0x4c0 fs/btrfs/extent-tree.c:2150
lr : btrfs_run_delayed_refs+0x45c/0x4c0 fs/btrfs/extent-tree.c:2150
sp : ffff8000211e78f0
x29: ffff8000211e7900 x28: 0000000000000003 x27: 00000000001f0000
x26: 00000000ffffffe4 x25: ffff0000ca32f000 x24: 1fffe0001e98c4b2
x23: ffff0000f4c62590 x22: 000000000000001f x21: 0000000000000000
x20: 0000000000000000 x19: ffff0000f4c62540 x18: ffff8000211e6ce0
x17: 0000000000000000 x16: ffff80001232d384 x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : bf910c1a4b00a500
x8 : bf910c1a4b00a500 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000211e71d8 x4 : ffff800015b731c0 x3 : ffff8000085869b0
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
btrfs_run_delayed_refs+0x45c/0x4c0 fs/btrfs/extent-tree.c:2150
flush_space+0x854/0xdb8 fs/btrfs/space-info.c:744
btrfs_async_reclaim_metadata_space+0x260/0x30c fs/btrfs/space-info.c:1080
process_one_work+0x7ac/0x1404 kernel/workqueue.c:2292
process_scheduled_works kernel/workqueue.c:2355 [inline]
worker_thread+0xb6c/0xfec kernel/workqueue.c:2441
kthread+0x250/0x2d8 kernel/kthread.c:376
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
irq event stamp: 1371818
hardirqs last enabled at (1371817): [<ffff80000833f25c>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (1371818): [<ffff800012329064>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (1370988): [<ffff8000081c3414>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (1370988): [<ffff8000081c3414>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (1370979): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
BTRFS info (device loop4: state A): dumping space info:
BTRFS info (device loop4: state A): space_info DATA+METADATA has 2232320 free, is full
BTRFS info (device loop4: state A): space_info total=3276800, used=45056, pinned=16384, reserved=0, may_use=983040, readonly=0 zone_unusable=0
BTRFS info (device loop4: state A): space_info SYSTEM has 12447744 free, is not full
BTRFS info (device loop4: state A): space_info total=12451840, used=4096, pinned=0, reserved=0, may_use=0, readonly=0 zone_unusable=0
BTRFS info (device loop4: state A): global_block_rsv: size 983040 reserved 983040
BTRFS info (device loop4: state A): trans_block_rsv: size 0 reserved 0
BTRFS info (device loop4: state A): chunk_block_rsv: size 0 reserved 0
BTRFS info (device loop4: state A): delayed_block_rsv: size 0 reserved 0
BTRFS info (device loop4: state A): delayed_refs_rsv: size 0 reserved 0
BTRFS: error (device loop4: state A) in btrfs_run_delayed_refs:2150: errno=-28 No space left
BTRFS info (device loop4: state EA): forced readonly


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Apr 13, 2025, 10:47:13 AM4/13/25
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages