syzbot


WARNING in btrfs_put_transaction

Status: auto-obsoleted due to no activity on 2023/10/07 17:45
Reported-by: syzbot+9260df5ea39aadc883a0@syzkaller.appspotmail.com
First crash: 608d, last: 527d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_put_transaction (3) btrfs 1 17d 13d 0/28 upstream: reported on 2024/11/24 14:45
upstream WARNING in btrfs_put_transaction btrfs C error inconclusive 83 216d 738d 25/28 fixed on 2024/05/22 09:57
upstream WARNING in btrfs_put_transaction (2) btrfs 3 191d 187d 26/28 fixed on 2024/07/09 19:14
linux-5.15 WARNING in btrfs_put_transaction origin:lts-only syz unreliable 5 322d 515d 0/3 auto-obsoleted due to no activity on 2024/10/09 03:47

Sample crash report:
BTRFS warning (device loop2: state EA): Skipping commit of aborted transaction.
BTRFS: error (device loop2: state EA) in cleanup_transaction:1958: errno=-12 Out of memory
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13112 at fs/btrfs/transaction.c:132 btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:131
Modules linked in:
CPU: 0 PID: 13112 Comm: kworker/u4:18 Not tainted 6.1.36-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: btrfs-qgroup-rescan btrfs_work_helper
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:131
lr : btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:131
sp : ffff800025357460
x29: ffff800025357460 x28: ffff0000df3e3e70 x27: ffff700004a6aea0
x26: ffff000126327030 x25: ffff0000dd22c000 x24: dfff800000000000
x23: ffff0000dd22cc18 x22: ffff0000dd22c6d8 x21: 0000000000000001
x20: ffff000126327330 x19: ffff000126327000 x18: 1fffe000368b5f76
x17: ffff8000155bd000 x16: ffff800008303574 x15: ffff0001b45afbbc
x14: 1ffff00002ab80b0 x13: dfff800000000000 x12: 0000000000000001
x11: ff8080000a0efac0 x10: 0000000000000000 x9 : ffff80000a0efac0
x8 : ffff0000c41a1bc0 x7 : ffff80000a0f9120 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000a0ef828
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000001
Call trace:
 btrfs_put_transaction+0x308/0x378 fs/btrfs/transaction.c:131
 cleanup_transaction+0x538/0x774 fs/btrfs/transaction.c:2006
 btrfs_commit_transaction+0x2358/0x2cd4 fs/btrfs/transaction.c:2544
 btrfs_qgroup_rescan_worker+0x15a8/0x161c fs/btrfs/qgroup.c:3384
 btrfs_work_helper+0x31c/0xd98 fs/btrfs/async-thread.c:280
 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289
 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
irq event stamp: 8888128
hardirqs last  enabled at (8888127): [<ffff80000827ce6c>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline]
hardirqs last  enabled at (8888127): [<ffff80000827ce6c>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000
hardirqs last disabled at (8888128): [<ffff8000121068dc>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (8887990): [<ffff800008020d74>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (8887990): [<ffff800008020d74>] __do_softirq+0xc14/0xea0 kernel/softirq.c:600
softirqs last disabled at (8887873): [<ffff80000802a994>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
---[ end trace 0000000000000000 ]---
BTRFS error (device loop2: state EA): fail to start transaction for status update: -30
BTRFS info (device loop2): qgroup scan completed (inconsistency flag cleared)

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/29 17:45 linux-6.1.y a1c449d00ff8 134ddc02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_put_transaction
2023/04/09 22:51 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_put_transaction
* Struck through repros no longer work on HEAD.