syzbot


WARNING in btrfs_create_pending_block_groups

Status: upstream: reported C repro on 2023/08/13 16:14
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+5d608f4f385ba0eb8e16@syzkaller.appspotmail.com
First crash: 747d, last: 1d09h
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in btrfs_create_pending_block_groups (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2024/02/10 linux-6.1.y (ToT) f1bb70486c9c C [report] WARNING in btrfs_create_pending_block_groups
2023/08/13 upstream (ToT) 4c75bf7e4a0e C [report] WARNING in btrfs_create_pending_block_groups
2024/02/10 upstream (ToT) 4a7bbe7519b6 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in btrfs_create_pending_block_groups (2) btrfs -1 C done 1015 15h49m 344d 0/29 upstream: reported C repro on 2024/09/19 23:50
upstream WARNING in btrfs_create_pending_block_groups btrfs -1 C error done 64 602d 1006d 0/29 auto-obsoleted due to no activity on 2024/05/26 09:44
linux-6.6 WARNING in btrfs_create_pending_block_groups origin:upstream -1 C 41 1d07h 64d 0/2 upstream: reported C repro on 2025/06/26 23:16
linux-5.15 WARNING in btrfs_create_pending_block_groups missing-backport origin:upstream -1 C done 300 1d07h 794d 0/3 upstream: reported C repro on 2023/06/28 06:17
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/03/28 07:37 1h22m fix candidate upstream OK (0) job log
2024/03/15 13:35 1h10m bisect fix linux-6.1.y OK (0) job log log
2024/01/10 14:58 2h19m bisect fix linux-6.1.y OK (0) job log log
2023/12/11 08:27 2h31m bisect fix linux-6.1.y OK (0) job log log
2023/11/10 13:07 1h05m bisect fix linux-6.1.y OK (0) job log log
2023/10/07 07:06 1h07m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
BTRFS info (device loop0): first mount of filesystem e417788f-7a09-42b2-9266-8ddc5d5d35d2
BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm
BTRFS info (device loop0): using free space tree
BTRFS info (device loop0): enabling ssd optimizations
BTRFS info (device loop0): balance: start -susage=34359738372,drange=7..526332,limit=0..6
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4435 at fs/btrfs/block-group.c:2539 btrfs_create_pending_block_groups+0xd53/0xf40 fs/btrfs/block-group.c:2539
Modules linked in:
CPU: 1 PID: 4435 Comm: syz.0.17 Not tainted 6.1.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:btrfs_create_pending_block_groups+0xd53/0xf40 fs/btrfs/block-group.c:2539
Code: e0 8e d1 8a ba f2 09 00 00 44 89 e1 e8 e8 72 89 06 e9 42 f7 ff ff e8 cc 31 fd fd 48 c7 c7 60 8e d1 8a 44 89 e6 e8 3d 5e c9 fd <0f> 0b e9 43 fe ff ff e8 b1 31 fd fd 48 c7 c7 60 8e d1 8a 44 89 ee
RSP: 0018:ffffc900035d7740 EFLAGS: 00010246
RAX: e4e1d6ed6480da00 RBX: 1ffff1100f70840b RCX: ffff88802c211dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffffc900035d7988 R08: dffffc0000000000 R09: fffff520006bae79
R10: fffff520006bae79 R11: 1ffff920006bae78 R12: 00000000ffffffe4
R13: 0000000000000000 R14: ffff88807b842058 R15: ffff88807df18001
FS:  00005555745ed500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005601093591e0 CR3: 000000001f367000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __btrfs_end_transaction+0x154/0x690 fs/btrfs/transaction.c:1012
 btrfs_inc_block_group_ro+0x62b/0x700 fs/btrfs/block-group.c:2803
 btrfs_relocate_block_group+0x450/0xd70 fs/btrfs/relocation.c:4052
 btrfs_relocate_chunk+0x126/0x3b0 fs/btrfs/volumes.c:3350
 __btrfs_balance+0x1894/0x21e0 fs/btrfs/volumes.c:4098
 btrfs_balance+0xcad/0x11b0 fs/btrfs/volumes.c:4474
 btrfs_ioctl_balance+0x49f/0x720 fs/btrfs/ioctl.c:4531
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1c46f8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff2c43a678 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1c471b5fa0 RCX: 00007f1c46f8ebe9
RDX: 0000200000000440 RSI: 00000000c4009420 RDI: 0000000000000003
RBP: 00007f1c47011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1c471b5fa0 R14: 00007f1c471b5fa0 R15: 0000000000000003
 </TASK>

Crashes (360):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/24 18:05 linux-6.1.y 0bc96de781b4 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/01/12 23:06 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2023/08/13 16:12 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/17 08:43 linux-6.1.y f2198ea7eb3e 44f8051e .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/04/05 14:45 linux-6.1.y 8e60a714ba3b c53ea9c9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/04/04 22:56 linux-6.1.y 8e60a714ba3b 1c4febdb .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/04/04 22:26 linux-6.1.y 8e60a714ba3b 1c4febdb .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/01/12 23:07 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/01/11 23:12 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/01/10 15:28 linux-6.1.y c63962be84ef 67d7ec0a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2024/12/12 13:31 linux-6.1.y e4d90d63d385 6f1b0fa8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2024/11/29 18:42 linux-6.1.y e4d90d63d385 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2024/11/29 18:26 linux-6.1.y e4d90d63d385 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2024/11/09 17:10 linux-6.1.y d7039b844a1c 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2024/05/01 06:47 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/24 17:33 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/23 09:42 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/22 10:43 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/20 01:34 linux-6.1.y 0bc96de781b4 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/10 10:01 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/04 00:04 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/02 20:37 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/25 10:22 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/19 05:59 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/17 06:31 linux-6.1.y f2198ea7eb3e 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/13 05:16 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/12 16:28 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/12 08:48 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/09 19:27 linux-6.1.y 04d1ccaa9c28 f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/03 13:30 linux-6.1.y 7e69c33e4858 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/07/02 20:40 linux-6.1.y 7e69c33e4858 bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/06/27 11:12 linux-6.1.y 58485ff1a74f 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/06/25 23:39 linux-6.1.y 58485ff1a74f 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/06/23 02:35 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_create_pending_block_groups
2025/08/29 06:34 linux-6.1.y f89b6e15694c d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/25 03:36 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/22 18:29 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/19 22:57 linux-6.1.y 0bc96de781b4 254a27c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/07 07:13 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/06 07:30 linux-6.1.y 3594f306da12 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/05 08:30 linux-6.1.y 3594f306da12 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/04 02:44 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/04 02:43 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/08/01 07:34 linux-6.1.y 3594f306da12 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/28 23:32 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/22 09:19 linux-6.1.y 3369c6df2fae 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/21 00:45 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/19 21:50 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/19 21:48 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/17 05:06 linux-6.1.y f2198ea7eb3e 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/13 20:52 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/12 00:28 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/09 17:40 linux-6.1.y 04d1ccaa9c28 f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/06 02:48 linux-6.1.y 7e69c33e4858 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/05 14:50 linux-6.1.y 7e69c33e4858 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/03 21:30 linux-6.1.y 7e69c33e4858 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/03 00:40 linux-6.1.y 7e69c33e4858 bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/02 17:21 linux-6.1.y 7e69c33e4858 bc80e4f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/07/01 02:50 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/30 01:16 linux-6.1.y 7e69c33e4858 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/27 20:41 linux-6.1.y 7e69c33e4858 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/26 12:59 linux-6.1.y 58485ff1a74f 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/23 12:38 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/23 05:57 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/22 23:12 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/22 05:06 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/19 22:37 linux-6.1.y 58485ff1a74f ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/19 22:36 linux-6.1.y 58485ff1a74f ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/19 20:42 linux-6.1.y 58485ff1a74f ed3e87f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
2025/06/16 09:00 linux-6.1.y 58485ff1a74f 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in btrfs_create_pending_block_groups
* Struck through repros no longer work on HEAD.