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: 619d, last: 3d01h
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 (10)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Nov 2024) 0 (1) 2024/11/18 10:39
[syzbot] Monthly btrfs report (Oct 2024) 0 (1) 2024/10/17 07:41
[syzbot] Monthly btrfs report (Sep 2024) 0 (1) 2024/09/16 12:27
[syzbot] Monthly btrfs report (Aug 2024) 0 (1) 2024/08/16 09:47
[syzbot] Monthly btrfs report (Jul 2024) 0 (1) 2024/07/15 14:03
[syzbot] Monthly btrfs report (Jun 2024) 0 (1) 2024/06/14 08:14
[syzbot] Monthly btrfs report (May 2024) 0 (1) 2024/05/13 21:13
[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 676d 770d 22/28 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) 1 733d 733d 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 652d 1024d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream C 16 36d 427d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-4.19 WARNING in btrfs_commit_transaction 1 1346d 1346d 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 45 31d 604d 0/3 upstream: reported C repro on 2023/04/17 01:21
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/15 06:38 21m retest repro upstream report log
2024/09/15 06:38 16m retest repro upstream report log
2024/09/15 06:38 29m retest repro upstream report log
2024/09/15 06:38 14m retest repro upstream report log
2024/09/15 06:38 19m retest repro upstream report log
2024/08/07 19:36 16m retest repro upstream report log
2024/08/07 19:36 26m retest repro upstream report log
2024/07/24 16:19 15m retest repro upstream report log
2024/07/24 16:19 18m retest repro upstream report log
2024/07/24 16:19 19m retest repro upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/07/19 19:25 4h11m bisect fix upstream OK (0) job log log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/09/21 10:13 8h00m bisect upstream OK (1) job log log
2023/05/24 06:58 6h42m (2) bisect upstream error job log
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 (329):
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/05/11 23:37 upstream cf87f46fd34d 9026e142 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_commit_transaction
2024/04/23 06:36 upstream a2c63a3f3d68 21339d7b .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream 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/06/04 16:19 upstream 2ab795141095 c2e07261 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_commit_transaction
2024/12/03 18:02 upstream ceb8bf2ceaa7 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/11/25 08:16 upstream 9f16d5e6f220 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/11/24 23:36 upstream 9f16d5e6f220 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/11/21 08:11 upstream 8f7c8b88bda4 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/11/19 03:56 upstream c6d64479d609 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/11/18 08:24 upstream f66d6acccbc0 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/11/14 06:51 upstream f1b785f4c787 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/11/12 08:01 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/10/13 02:47 upstream 7234e2ea0edd 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/10/11 15:35 upstream 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/10/10 11:26 upstream d3d1556696c1 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/10/09 16:22 upstream 75b607fab38d 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/10/09 16:18 upstream 75b607fab38d 56fb2cb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_commit_transaction
2024/09/29 07:14 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_commit_transaction
2024/06/26 08:06 upstream 55027e689933 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_commit_transaction
2024/06/19 10:37 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in btrfs_commit_transaction
2024/12/08 21:32 upstream 62b5a46999c7 9ac0fdc6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/26 18:42 upstream 7eef7e306d3c e9a9a9f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/14 21:34 upstream cfaaa7d010d1 77f3eeb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/12 20:22 upstream 3022e9d00ebe c819f227 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/11 17:09 upstream 2d5404caa8c7 0c4b1325 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/10 17:13 upstream de2f378f2b77 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/10 12:16 upstream de2f378f2b77 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/10 06:26 upstream de2f378f2b77 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/09 20:21 upstream da4373fbcf00 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/09 17:06 upstream da4373fbcf00 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/07 09:03 upstream 7758b206117d df3dc63b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/06 16:15 upstream 2e1b3cc9d7f7 7b852900 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/06 05:50 upstream 2e1b3cc9d7f7 3a465482 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/05 03:50 upstream 557329bcecc2 509da429 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/04 04:18 upstream b9021de3ec2f f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/03 17:24 upstream 3e5e6c9900c3 f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/11/02 07:22 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/31 21:11 upstream 0fc810ae3ae1 96eb609f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/31 06:12 upstream 4236f913808c fb888278 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/30 17:47 upstream c1e939a21eb1 f3a00767 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/30 16:07 upstream c1e939a21eb1 f3a00767 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/30 05:21 upstream c1e939a21eb1 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/29 22:18 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/27 22:36 upstream ea1fda89f5b2 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/27 19:20 upstream 850925a8133c 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/26 07:21 upstream c71f8fb4dc91 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/26 02:26 upstream c71f8fb4dc91 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/22 19:23 upstream c2ee9f594da8 a573a9f4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/22 09:12 upstream c2ee9f594da8 a93682b3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/08 12:55 upstream 87d6aab2389e 402f1df0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/03 20:26 upstream 7ec462100ef9 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/10/01 10:18 upstream e32cde8d2bd7 bbd4e0a4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/09/29 23:47 upstream e7ed34365879 ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/09/29 13:39 upstream 3efc57369a0c ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/09/28 21:36 upstream ad46e8f95e93 ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_commit_transaction
2024/06/23 15:14 upstream 5f583a3162ff c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_commit_transaction
2024/06/22 12:23 upstream 35bb670d65fc c2e07261 .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
2024/11/12 17:39 linux-next 929beafbe7ac 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.