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: 1302d, last: 30m
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 (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_commit_transaction btrfs -1 syz, C inconclusive done 3 1373d 1467d 22/29 fixed on 2023/02/24 13:50
linux-4.19 WARNING in btrfs_commit_transaction (2) -1 1 1430d 1430d 0/1 auto-obsoleted due to no activity on 2023/04/08 10:50
linux-4.14 WARNING in btrfs_commit_transaction btrfs -1 syz, C 2 1349d 1721d 0/1 upstream: reported C repro on 2022/02/21 07:21
linux-6.1 WARNING in btrfs_commit_transaction origin:upstream -1 syz, C error 27 38d 1124d 0/3 upstream: reported C repro on 2023/10/11 08:58
linux-6.6 WARNING in btrfs_commit_transaction -1 13 289d 502d 0/2 auto-obsoleted due to no activity on 2026/05/03 02:57
linux-4.19 WARNING in btrfs_commit_transaction -1 1 2043d 2043d 0/1 auto-closed as invalid on 2021/08/03 10:34
linux-6.6 WARNING in btrfs_commit_transaction (2) -1 2 24d 69d 0/2 upstream: reported on 2026/08/31 12:10
upstream WARNING in btrfs_commit_transaction (2) prio:low btrfs -1 syz, C done error 1226 7d21h 1313d 0/29 upstream: reported C repro on 2023/04/06 02:24
▶ ▼ Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/09/17 04:34 19m retest repro linux-5.15.y report job log log
2026/09/17 04:34 1h10m retest repro linux-5.15.y error job log
2026/09/17 04:34 22m retest repro linux-5.15.y report job log log
2026/08/29 09:21 22m retest repro linux-5.15.y report job log log
2026/08/29 09:21 14m retest repro linux-5.15.y report job log log
2026/08/29 09:21 12m retest repro linux-5.15.y report job log log
2026/08/29 09:21 12m retest repro linux-5.15.y report job log log
2026/08/29 09:21 12m retest repro linux-5.15.y report job log log
2026/07/23 09:39 17m retest repro linux-5.15.y report log
2026/07/23 09:39 15m retest repro linux-5.15.y report log
▶ ▼ Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/12/22 09:22 5h49m fix candidate upstream OK (1) job log
2023/10/05 19:34 7m fix candidate upstream error job log
2023/09/02 23:25 3m fix candidate upstream error job log

Sample crash report:
BTRFS info (device loop0): block group 6881280 has 1638400 bytes, 0 used 0 pinned 0 reserved 0 zone_unusable [readonly]
BTRFS critical (device loop0): entry offset 6881280, bytes 1638400, bitmap no
BTRFS info (device loop0): block group has cluster?: no
BTRFS info (device loop0): 0 blocks of free space at or bigger than bytes is
BTRFS warning (device loop0): Skipping commit of aborted transaction.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4377 at fs/btrfs/transaction.c:2032 cleanup_transaction fs/btrfs/transaction.c:2032 [inline]
WARNING: CPU: 0 PID: 4377 at fs/btrfs/transaction.c:2032 btrfs_commit_transaction+0x2633/0x3580 fs/btrfs/transaction.c:2540
Modules linked in:
CPU: 0 PID: 4377 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:cleanup_transaction fs/btrfs/transaction.c:2032 [inline]
RIP: 0010:btrfs_commit_transaction+0x2633/0x3580 fs/btrfs/transaction.c:2540
Code: a3 64 2f fe eb 05 e8 9c 64 2f fe 0f 1f 44 00 00 e8 92 64 2f fe eb 15 e8 8b 64 2f fe 48 c7 c7 a0 77 6b 8a 89 de e8 ed 0a 74 06 <0f> 0b 48 8b 7c 24 10 48 c7 c6 a0 79 6b 8a ba f0 07 00 00 89 d9 e8
RSP: 0018:ffffc9000310f820 EFLAGS: 00010246
RAX: 7229dc8be8bce300 RBX: 00000000ffffffe4 RCX: ffff88807c3ed940
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000310fb10 R08: ffff8880b8e2795b R09: 1ffff110171c4f2b
R10: dffffc0000000000 R11: ffffed10171c4f2c R12: dffffc0000000000
R13: ffff888147b8d000 R14: ffff88807670e058 R15: fffff52000621f20
FS:  00007ff51a8906c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f00da58be9c CR3: 000000007953d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_set_free_space_cache_v1_active+0x6a/0x1c0 fs/btrfs/free-space-cache.c:4004
 btrfs_remount_cleanup fs/btrfs/super.c:1913 [inline]
 btrfs_remount+0x716/0x1770 fs/btrfs/super.c:2116
 reconfigure_super+0x224/0x8d0 fs/super.c:938
 do_remount fs/namespace.c:2697 [inline]
 path_mount+0xc5a/0xfe0 fs/namespace.c:3356
 do_mount fs/namespace.c:3377 [inline]
 __do_sys_mount fs/namespace.c:3585 [inline]
 __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3562
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7ff51b2327ca
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff51a88fe58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff51a88fee0 RCX: 00007ff51b2327ca
RDX: 0000200000005fc0 RSI: 0000200000006000 RDI: 0000000000000000
RBP: 0000200000005fc0 R08: 00007ff51a88fee0 R09: 0000000001a6a038
R10: 0000000001a6a038 R11: 0000000000000246 R12: 0000200000006000
R13: 00007ff51a88fea0 R14: 0000000000000000 R15: 0000200000006040
 </TASK>

Crashes (89):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/25 15:31 linux-5.15.y 792fbe1537d8 1d9ca40b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/03/25 03:56 linux-5.15.y 91d48252ad4b 74e70d19 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/02/26 07:21 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
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
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
2025/07/27 00:06 linux-5.15.y c79648372d02 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 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/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/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
2026/11/09 02:13 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/11/08 12:33 linux-5.15.y 29c6cdaac04a 5cecaf1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/11/01 03:07 linux-5.15.y 700e62ea909a 25a0ae84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/10/25 13:40 linux-5.15.y 792fbe1537d8 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/08/04 16:35 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/05/27 15:55 linux-5.15.y 241d66fa280c 8777bdc3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2026/01/15 17:42 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/12/24 07:06 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/11/17 16:44 linux-5.15.y cc5ec8769306 ef766cd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/10/26 17:53 linux-5.15.y ac56c046adf4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/09/28 08:52 linux-5.15.y 43bb85222e53 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/14 02:07 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/13 15:23 linux-5.15.y 0c935c049b5c 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/12 02:49 linux-5.15.y c16c81c81336 ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/10 17:10 linux-5.15.y c16c81c81336 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/04 18:15 linux-5.15.y c16c81c81336 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/03/01 12:34 linux-5.15.y c16c81c81336 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/02/17 11:28 linux-5.15.y c16c81c81336 4121cf9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/01/02 17:56 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/11/10 04:34 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/09/01 03:41 linux-5.15.y fa93fa65db6e 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/08/20 21:00 linux-5.15.y fa93fa65db6e 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2024/08/10 11:39 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_commit_transaction
2025/07/23 21:54 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/07/10 19:49 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/05/05 13:21 linux-5.15.y 16fdf2c7111b 6ca47dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/05/04 04:41 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/05/03 09:16 linux-5.15.y 16fdf2c7111b b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/05/02 07:55 linux-5.15.y 16fdf2c7111b 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/30 22:02 linux-5.15.y f7347f400572 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/29 19:15 linux-5.15.y f7347f400572 85a5a23f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/29 12:07 linux-5.15.y f7347f400572 aeb6ec69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/26 06:15 linux-5.15.y f7347f400572 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/25 18:41 linux-5.15.y f7347f400572 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/25 05:14 linux-5.15.y f7347f400572 e3715315 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/04/14 23:32 linux-5.15.y f7347f400572 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/02/13 15:30 linux-5.15.y c16c81c81336 a98a8417 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/02/11 08:59 linux-5.15.y c16c81c81336 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/01/26 00:01 linux-5.15.y 003148680b79 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2025/01/19 06:28 linux-5.15.y 4735586da88e f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/22 06:23 linux-5.15.y fa93fa65db6e ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/21 13:35 linux-5.15.y fa93fa65db6e db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/20 23:53 linux-5.15.y fa93fa65db6e 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/20 10:25 linux-5.15.y fa93fa65db6e 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/16 13:29 linux-5.15.y 7e89efd3ae1c e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/14 17:20 linux-5.15.y 7e89efd3ae1c e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/14 02:23 linux-5.15.y 7e89efd3ae1c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_commit_transaction
2024/08/12 17:28 linux-5.15.y 7e89efd3ae1c 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 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
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.