syzbot


WARNING in cleanup_transaction

Status: upstream: reported C repro on 2022/10/19 05:40
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+021d10c4d4edc87daa03@syzkaller.appspotmail.com
First crash: 764d, last: 13d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 8bb808c6ad91ec3d332f072ce8f8aa4b16e307e0
Author: David Sterba <dsterba@suse.com>
Date: Thu Nov 3 13:39:01 2022 +0000

  btrfs: don't print stack trace when transaction is aborted due to ENOMEM

  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Nov 2024) 0 (1) 2024/11/18 10:39
[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 (May 2024) 0 (1) 2024/05/13 21:13
[syzbot] WARNING in cleanup_transaction 0 (2) 2022/11/22 05:39
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in cleanup_transaction origin:upstream C error 22 25d 463d 0/3 upstream: reported C repro on 2023/08/15 21:58
linux-4.19 WARNING in cleanup_transaction 1 1010d 1010d 0/1 auto-closed as invalid on 2022/06/14 10:30
android-49 WARNING in cleanup_transaction 1 2407d 2407d 0/3 auto-closed as invalid on 2019/02/22 14:19
linux-4.19 WARNING in cleanup_transaction (2) btrfs C 11 631d 718d 0/1 upstream: reported C repro on 2022/12/03 07:23
linux-4.14 WARNING in cleanup_transaction btrfs C 1 629d 702d 0/1 upstream: reported C repro on 2022/12/19 11:57
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/03 10:40 11m retest repro upstream report log
2024/09/03 10:40 11m retest repro upstream report log
2024/09/03 07:34 16m retest repro upstream report log
2024/09/03 07:34 13m retest repro upstream report log
2024/09/03 07:34 16m retest repro upstream report log
2024/09/03 07:34 20m retest repro upstream report log
2024/09/03 07:34 12m retest repro upstream report log
2024/09/03 06:10 15m retest repro upstream report log
2024/05/05 09:57 11m retest repro upstream report log
2024/05/05 09:57 11m retest repro upstream report log

Sample crash report:
BTRFS info (device loop0): relocating block group 5242880 flags data|metadata
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 5015 at fs/btrfs/transaction.c:1983 cleanup_transaction+0x6fa/0x7e0 fs/btrfs/transaction.c:1983
Modules linked in:
CPU: 1 PID: 5015 Comm: syz-executor312 Not tainted 6.5.0-rc7-syzkaller-00182-g3b35375f19fe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:cleanup_transaction+0x6fa/0x7e0 fs/btrfs/transaction.c:1983
Code: 56 00 fe 0f 0b 43 80 7c 25 00 00 0f 85 53 fa ff ff e9 56 fa ff ff e8 a5 56 00 fe 48 c7 c7 00 66 4a 8b 44 89 f6 e8 c6 6f c7 fd <0f> 0b e9 a7 fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c ff f9 ff
RSP: 0018:ffffc900039ff420 EFLAGS: 00010246
RAX: abead7ff6c266700 RBX: 0000000000000000 RCX: ffff888026d90000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900039ff550 R08: ffffffff8152d442 R09: 1ffff9200073fdfc
R10: dffffc0000000000 R11: fffff5200073fdfd R12: dffffc0000000000
R13: 1ffff1100ea50d1b R14: 00000000ffffffe4 R15: ffff8880752868d8
FS:  00007f1fba74e6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1fba7cdb10 CR3: 000000007252c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_commit_transaction+0x268e/0x2ff0 fs/btrfs/transaction.c:2563
 prepare_to_relocate+0x3c5/0x4c0 fs/btrfs/relocation.c:3629
 relocate_block_group+0x17f/0xcd0 fs/btrfs/relocation.c:3654
 btrfs_relocate_block_group+0x7ab/0xd70 fs/btrfs/relocation.c:4116
 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3283
 __btrfs_balance+0x1b06/0x2690 fs/btrfs/volumes.c:4018
 btrfs_balance+0xbd8/0x10d0 fs/btrfs/volumes.c:4395
 btrfs_ioctl_balance+0x496/0x7c0 fs/btrfs/ioctl.c:3604
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1fba791c19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1fba74e218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1fba81e6c8 RCX: 00007f1fba791c19
RDX: 00000000200003c0 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f1fba81e6c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1fba7eb26c
R13: 0030656c69662f2e R14: 61635f7261656c63 R15: 18bea1116aa755e3
 </TASK>

Crashes (141):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/27 06:59 upstream 3b35375f19fe 7ba13a15 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/08/18 19:06 upstream 0e8860d2125f d216d8a0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in cleanup_transaction
2023/08/18 04:21 upstream 16931859a650 74b106b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/07/12 18:47 upstream 3f01e9fed845 979d5fe2 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/06/09 18:58 upstream 33f2b5785a2b 9018a337 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/02/27 16:30 upstream f3a2439f20d9 9189cb53 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2022/12/20 14:49 upstream aeba12b26c79 c52b2efb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/07/02 18:33 upstream 995b406c7e97 bfc47836 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2022/10/19 03:06 upstream 493ffd6605b2 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci2-upstream-fs WARNING in cleanup_transaction
2023/09/15 01:29 upstream 9fdfb15a3dbf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in cleanup_transaction
2023/09/04 12:48 upstream 708283abf896 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in cleanup_transaction
2023/09/01 06:23 upstream b97d64c72259 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_transaction
2023/08/19 12:09 upstream d4ddefee5160 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in cleanup_transaction
2023/08/16 22:44 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in cleanup_transaction
2022/10/19 02:56 upstream 493ffd6605b2 b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in cleanup_transaction
2024/11/07 21:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9bf801c386f9 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/11/07 21:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9bf801c386f9 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/11/07 15:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8936d33c1f69 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/10/23 19:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df1aa7b14127 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/20 06:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/19 10:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/17 12:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5c43d43bad35 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/14 22:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 7c626ce4bae1 e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/12 12:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/10 05:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/09 23:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 a9e7e9e3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/05 21:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/05 12:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/04 18:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/08/01 01:45 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/28 10:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/27 00:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/26 06:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/25 22:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 32fcf98f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/22 09:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/19 02:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/16 18:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/14 23:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/11 03:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ef445d1539dd c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/10 12:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ef445d1539dd e7213be3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/09 23:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ef445d1539dd 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/07/09 17:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1a6f53de2eb9 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/06/17 12:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/06/17 07:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/27 18:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/26 20:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/25 04:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/15 13:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/15 08:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/05/08 07:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1c9135d29e9e 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/02/11 03:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f735966ee23c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/01/25 16:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2024/01/13 00:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca dda5a988 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
2023/12/28 06:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aafe7ad77b91 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in cleanup_transaction
* Struck through repros no longer work on HEAD.