syzbot


WARNING in btrfs_put_transaction (4)

Status: upstream: reported on 2025/08/21 15:16
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+62f59a3655c0df0581cd@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_put_transaction (4) 0 (1) 2025/08/21 15:16
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_put_transaction (3) btrfs -1 1 280d 276d 0/29 auto-obsoleted due to no activity on 2025/02/28 14:39
upstream WARNING in btrfs_put_transaction btrfs -1 C error inconclusive 83 479d 1001d 25/29 fixed on 2024/05/22 09:57
upstream WARNING in btrfs_put_transaction (2) btrfs -1 3 454d 450d 26/29 fixed on 2024/07/09 19:14
linux-5.15 WARNING in btrfs_put_transaction origin:lts-only -1 syz unreliable 5 585d 778d 0/3 auto-obsoleted due to no activity on 2024/10/09 03:47
linux-6.1 WARNING in btrfs_put_transaction -1 2 790d 871d 0/3 auto-obsoleted due to no activity on 2023/10/07 17:45

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7838 at fs/btrfs/transaction.c:144 btrfs_put_transaction+0x4b8/0x520 fs/btrfs/transaction.c:144
Modules linked in:
CPU: 1 UID: 0 PID: 7838 Comm: btrfs-transacti Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
pc : btrfs_put_transaction+0x4b8/0x520 fs/btrfs/transaction.c:144
lr : btrfs_put_transaction+0x4b8/0x520 fs/btrfs/transaction.c:144
sp : ffff8000b41a7a70
x29: ffff8000b41a7a80 x28: 1fffe0001f3374a0 x27: dfff800000000000
x26: ffff0000c621a000 x25: dfff800000000000 x24: 1fffe00018c43404
x23: ffff0000c621a000 x22: ffff0000f99b8d38 x21: 0000000000000001
x20: ffff0000c621a358 x19: ffff0000dfc5b2a4 x18: 00000000ffffffff
x17: ffff800093507000 x16: ffff800080535980 x15: 0000000000000001
x14: 1fffe00018c43402 x13: 0000000000000000 x12: 0000000000000000
x11: ffff600018c43403 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000e01edb80 x7 : ffff80008235f5e4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800082358eec
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001
Call trace:
 btrfs_put_transaction+0x4b8/0x520 fs/btrfs/transaction.c:144 (P)
 btrfs_commit_transaction+0x1d24/0x2ce4 fs/btrfs/transaction.c:2583
 transaction_kthread+0x200/0x430 fs/btrfs/disk-io.c:1592
 kthread+0x5fc/0x75c kernel/kthread.c:463
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844
irq event stamp: 123680
hardirqs last  enabled at (123679): [<ffff80008b028df8>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last  enabled at (123679): [<ffff80008b028df8>] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194
hardirqs last disabled at (123680): [<ffff80008b001bfc>] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574
softirqs last  enabled at (123658): [<ffff800080201608>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (123656): [<ffff8000802015d4>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/17 15:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f5ae30d69d7 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in btrfs_put_transaction
* Struck through repros no longer work on HEAD.