syzbot


WARNING in btrfs_commit_transaction (2)

Status: upstream: reported C repro on 2023/04/06 02:24
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+dafbca0e20fbc5946925@syzkaller.appspotmail.com
First crash: 385d, last: 11d
Cause bisection: introduced by (bisect log) :
commit 2b9ac22b12a266eb4fec246a07b504dd4983b16b
Author: Kristian Klausen <kristian@klausen.dk>
Date: Fri Jun 18 11:51:57 2021 +0000

  loop: Fix missing discard support when using LOOP_CONFIGURE

Crash: WARNING in btrfs_commit_transaction (log)
Repro: C syz .config
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Apr 2024) 0 (1) 2024/04/12 13:18
[syzbot] Monthly btrfs report (Feb 2024) 2 (3) 2024/02/12 12:15
[syzbot] [btrfs?] WARNING in btrfs_commit_transaction (2) 0 (3) 2023/09/21 18:15
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs C inconclusive done 3 442d 536d 22/26 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) 1 499d 499d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs C 2 418d 790d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream C 4 2d19h 193d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-4.19 WARNING in btrfs_commit_transaction 1 1112d 1112d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-5.15 WARNING in btrfs_commit_transaction origin:lts-only C done 28 41d 370d 0/3 upstream: reported C repro on 2023/04/17 01:21
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/04/10 09:36 19m retest repro upstream report log
2024/02/13 02:04 13m retest repro upstream report log
2023/09/12 00:37 47m retest repro linux-next report log
2023/09/12 00:37 36m retest repro upstream report log
2023/09/12 00:37 24m retest repro upstream report log
2023/09/12 00:37 46m retest repro upstream report log
2023/09/12 00:37 20m retest repro linux-next report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/07/19 19:25 4h11m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/09/21 10:13 8h00m bisect upstream job log (1) log
2023/05/24 06:58 6h42m (2) bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 5119 at fs/btrfs/transaction.c:2006 cleanup_transaction fs/btrfs/transaction.c:2006 [inline]
WARNING: CPU: 1 PID: 5119 at fs/btrfs/transaction.c:2006 btrfs_commit_transaction+0x2ea1/0x3740 fs/btrfs/transaction.c:2589
Modules linked in:
CPU: 1 PID: 5119 Comm: kworker/u8:2 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2006 [inline]
RIP: 0010:btrfs_commit_transaction+0x2ea1/0x3740 fs/btrfs/transaction.c:2589
Code: 01 00 00 00 4c 89 ff e8 6d 72 f7 00 e9 a7 d7 ff ff e8 e3 67 ef fd 90 48 c7 c7 a0 1b eb 8b 8b 5c 24 10 89 de e8 10 3c b2 fd 90 <0f> 0b 90 90 4c 8b 64 24 20 e9 77 f9 ff ff 44 89 f1 80 e1 07 80 c1
RSP: 0018:ffffc900042cf6a0 EFLAGS: 00010246
RAX: f50c612711ad5500 RBX: 00000000ffffffe4 RCX: ffff888024f81e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900042cf9d0 R08: ffffffff8157cb22 R09: fffffbfff1bf9650
R10: dffffc0000000000 R11: fffffbfff1bf9650 R12: ffff88802c630000
R13: ffff888024f83060 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556d7ec50668 CR3: 0000000023de6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_space+0x9b0/0xcf0 fs/btrfs/space-info.c:817
 btrfs_async_reclaim_metadata_space+0x29f/0x350 fs/btrfs/space-info.c:1088
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
 </TASK>

Crashes (86):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/17 02:13 upstream fe46a7dd189e d615901c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2024/03/11 14:52 upstream e8f897f4afef 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_commit_transaction
2024/03/08 14:19 upstream 3aaa8ce7a335 cf82cde1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2024/03/01 13:12 upstream 87adedeba51a 352ab904 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/12/22 12:20 upstream 24e0d2e527a3 4f9530a3 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2023/12/04 09:56 upstream 33cc938e65a9 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in btrfs_commit_transaction
2023/11/25 04:40 upstream f1a09972a45a 5b429f39 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/11/19 08:18 upstream 23dfa043f6d5 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in btrfs_commit_transaction
2023/11/16 05:34 upstream c42d9eeef8e5 cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/12 15:18 upstream 1b907d050735 6d6dbf8a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/08/28 20:49 upstream 2dde18cd1d8f 7ba13a15 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/08/12 19:26 upstream f8de32cc060b 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/07/28 09:20 upstream 57012c57536f 92476829 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in btrfs_commit_transaction
2024/03/27 08:17 upstream 7033999ecd7b 454571b6 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/05/23 22:50 upstream ae8373a5add4 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/01/26 21:37 linux-next 01af33cc9894 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
2024/01/13 02:20 linux-next 8d04a7e2ee3f dda5a988 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
2023/10/29 07:34 linux-next 66f1e1ea3548 3c418d72 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
2023/08/17 03:18 linux-next ef66bf8aeb91 7773e940 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
2023/06/09 06:00 linux-next 715abedee4cd 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
2024/02/18 22:28 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2024/02/18 22:09 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2024/01/30 01:43 upstream 41bccc98fb79 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/25 03:02 upstream 443b349019f2 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/01/10 08:17 upstream 35f11a3710cd b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/10 01:29 upstream 35f11a3710cd b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/06 15:06 upstream 95c8a35f1c01 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/03 08:48 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/01 21:12 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/25 14:00 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/23 19:38 upstream 5254c0cbc92d fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/17 16:36 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/15 18:28 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/14 16:42 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/14 05:42 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/13 08:43 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/12 11:19 upstream 26aff849438c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/12 10:02 upstream 26aff849438c 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/09 09:12 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/08 23:06 upstream 5e3f5b81de80 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/12/08 12:44 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/29 14:56 upstream 18d46e76d7c2 6e78f9ce .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/28 11:58 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/27 06:30 upstream d2da77f431ac 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/21 22:37 upstream c2d5304e6c64 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/11/20 15:45 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/20 06:23 upstream eb3479bc23fa cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in btrfs_commit_transaction
2023/11/18 14:58 upstream 791c8ab095f7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/16 23:11 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/12 20:23 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/11 12:02 upstream 3ca112b71f35 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/09 22:10 upstream 6bc986ab839c 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/11/09 11:11 upstream 6bc986ab839c 4862372a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_commit_transaction
2023/11/09 11:11 upstream 6bc986ab839c 4862372a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2023/10/18 19:58 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2023/10/07 05:01 upstream af95dc6fdc25 ea12a918 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in btrfs_commit_transaction
2023/10/04 02:53 upstream 5e62ed3b1c8a 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/10/01 13:44 upstream e402b08634b3 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/09/27 16:21 upstream 0e945134b680 2895a507 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2023/09/25 12:42 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/01/15 06:57 upstream 052d534373b7 551587c1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/12/28 12:57 upstream f5837722ffec fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/12/16 14:13 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/12/06 00:11 upstream bee0e7762ad2 858d62d1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/10/17 10:55 upstream 213f891525c2 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/10/15 14:53 upstream 9a3dad63edbe f757a323 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2023/11/24 01:11 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in btrfs_commit_transaction
2023/04/02 02:12 upstream 00c7b5f4ddc5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.