syzbot


WARNING in btrfs_commit_transaction

Status: upstream: reported C repro on 2023/04/17 01:21
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+58e860029d947f85076a@syzkaller.appspotmail.com
First crash: 406d, last: 2d02h
Fix commit to backport (bisect log) :
tree: upstream
commit 398646011e3ce53409afda64bc2024d967e83880
Author: Nikolay Borisov <nborisov@suse.com>
Date: Wed Mar 30 09:14:06 2022 +0000

  btrfs: remove checks for arg argument in btrfs_ioctl_balance

  
Bug presence (2)
Date Name Commit Repro Result
2023/11/18 linux-5.15.y (ToT) 80529b4968a8 C [report] WARNING in __btrfs_free_extent
2023/11/18 upstream (ToT) 791c8ab095f7 C Didn't crash
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 478d 572d 22/26 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) 1 535d 535d 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 454d 826d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream C 11 12h03m 229d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-4.19 WARNING in btrfs_commit_transaction 1 1148d 1148d 0/1 auto-closed as invalid on 2021/08/03 10:34
upstream WARNING in btrfs_commit_transaction (2) btrfs C done 167 3h37m 417d 0/26 upstream: reported C repro on 2023/04/06 02:24
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/12/22 09:22 5h49m fix candidate upstream job log (1)
2023/10/05 19:34 7m fix candidate upstream error job log (0)
2023/09/02 23:25 3m fix candidate upstream error job log (0)

Sample crash report:
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 144 at fs/btrfs/transaction.c:2018 cleanup_transaction fs/btrfs/transaction.c:2018 [inline]
WARNING: CPU: 1 PID: 144 at fs/btrfs/transaction.c:2018 btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526
Modules linked in:
CPU: 0 PID: 144 Comm: kworker/u4:1 Not tainted 5.15.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: events_unbound btrfs_async_reclaim_metadata_space
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2018 [inline]
RIP: 0010:btrfs_commit_transaction+0x287d/0x3800 fs/btrfs/transaction.c:2526
Code: e8 68 04 22 fe 48 8b 5c 24 20 0f 1f 44 00 00 e8 59 04 22 fe eb 16 e8 52 04 22 fe 48 c7 c7 a0 b6 c9 8a 44 89 f6 e8 b3 b6 ed fd <0f> 0b 48 89 df 48 c7 c6 a0 b8 c9 8a ba e2 07 00 00 44 89 f1 e8 9e
RSP: 0018:ffffc9000128f740 EFLAGS: 00010246
RAX: 364ee109517b0f00 RBX: ffff888073e219a0 RCX: ffff88801398bb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000128fa50 R08: ffffffff81665dbc R09: ffffed1017364f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801398cdf8
R13: dffffc0000000000 R14: 00000000ffffffe4 R15: ffff888073e219f8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c0939bd58 CR3: 0000000023862000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_space+0xa0f/0xd50 fs/btrfs/space-info.c:694
 btrfs_async_reclaim_metadata_space+0x29b/0x340 fs/btrfs/space-info.c:953
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/22 05:06 linux-5.15.y ddcaf4999061 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/11/18 02:33 linux-5.15.y 80529b4968a8 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/05/25 02:32 linux-5.15.y 83655231580b a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/06/12 12:00 linux-5.15.y 7349e40704a0 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/08/23 20:45 linux-5.15.y f6f7927ac664 b81ca3f6 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/07/16 23:42 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/07/16 15:40 linux-5.15.y d54cfc420586 35d9ecc5 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/08/14 06:23 linux-5.15.y 24c4de4069cb 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/08/13 06:59 linux-5.15.y 24c4de4069cb 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/07/03 09:29 linux-5.15.y 4af60700a60c bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/12/19 04:07 linux-5.15.y d0fc081c6241 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/12/12 16:28 linux-5.15.y 8a1d809b0545 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/11/11 15:10 linux-5.15.y 80529b4968a8 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/11/11 02:04 linux-5.15.y 80529b4968a8 d80eec66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/10/26 17:34 linux-5.15.y 12952a23a5da 23afc60f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/10/16 17:57 linux-5.15.y 02e21884dcf2 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/05/25 19:57 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/05/25 01:30 linux-5.15.y 83655231580b a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/04/22 07:30 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/03/11 10:56 linux-5.15.y 574362648507 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/03/06 14:20 linux-5.15.y 80efc6265290 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/01/11 13:21 linux-5.15.y 26c690eff0a5 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/10/25 01:31 linux-5.15.y 00c03985402e 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/05/20 00:46 linux-5.15.y 9d6bde853685 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/05/19 22:20 linux-5.15.y 9d6bde853685 96689200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/05/18 13:47 linux-5.15.y 9d6bde853685 3bb7af1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2023/08/28 07:50 linux-5.15.y 5ddfe5cc8716 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/08/15 08:12 linux-5.15.y 24c4de4069cb 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/08/09 16:01 linux-5.15.y c275eaaaa342 8ad1a287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/06/12 11:35 linux-5.15.y 7349e40704a0 49519f06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/04/28 19:14 linux-5.15.y f48aeeaaa64c 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2023/04/17 01:21 linux-5.15.y 4fdad925aa1a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
* Struck through repros no longer work on HEAD.