syzbot


WARNING in btrfs_chunk_alloc (2)

Status: upstream: reported C repro on 2023/09/25 19:35
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+35296bd1d0474bc662a2@syzkaller.appspotmail.com
First crash: 800d, last: 1d10h
Bug presence (2)
Date Name Commit Repro Result
2025/05/28 linux-5.15.y (ToT) 98f47d0e9b8c C [report] WARNING in btrfs_chunk_alloc
2025/05/28 upstream (ToT) b08494a8f741 C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_chunk_alloc -1 6 903d 987d 0/3 auto-obsoleted due to no activity on 2023/09/22 15:34
linux-6.1 WARNING in btrfs_chunk_alloc (2) origin:lts-only -1 C done 57 23d 749d 0/3 upstream: reported C repro on 2023/11/15 16:30
linux-6.1 WARNING in btrfs_chunk_alloc -1 1 981d 981d 0/3 auto-obsoleted due to no activity on 2023/07/26 13:54
linux-6.6 WARNING in btrfs_chunk_alloc (2) origin:lts-only -1 C inconclusive 8 38d 41d 0/2 upstream: reported C repro on 2025/10/24 07:19
upstream WARNING in btrfs_chunk_alloc btrfs -1 C inconclusive done 648 3d20h 1108d 0/29 upstream: reported C repro on 2022/11/22 11:56
linux-6.6 WARNING in btrfs_chunk_alloc -1 1 156d 156d 0/2 auto-obsoleted due to no activity on 2025/10/09 03:44
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/11/15 04:05 12m retest repro linux-5.15.y report log
2025/11/15 04:05 11m retest repro linux-5.15.y report log
2025/11/15 04:05 13m retest repro linux-5.15.y report log
2025/11/15 04:05 18m retest repro linux-5.15.y report log
2025/10/26 23:03 16m retest repro linux-5.15.y OK log
2025/09/01 09:49 15m retest repro linux-5.15.y report log
2025/09/01 09:49 14m retest repro linux-5.15.y report log
2025/09/01 09:49 12m retest repro linux-5.15.y report log
2025/09/01 09:49 57m retest repro linux-5.15.y error
2025/08/17 13:09 13m retest repro linux-5.15.y report log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2025/10/31 08:29 2h21m bisect fix linux-5.15.y OK (0) job log log
2025/09/22 04:53 2h18m bisect fix linux-5.15.y OK (0) job log log
2025/08/02 04:01 2h33m fix candidate upstream OK (0) job log log
2023/10/26 03:59 0m bisect fix linux-5.15.y error job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4402 at fs/btrfs/block-group.c:3509 do_chunk_alloc fs/btrfs/block-group.c:3509 [inline]
WARNING: CPU: 0 PID: 4402 at fs/btrfs/block-group.c:3509 btrfs_chunk_alloc+0xb2e/0xf40 fs/btrfs/block-group.c:3732
Modules linked in:
CPU: 0 PID: 4402 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3509 [inline]
RIP: 0010:btrfs_chunk_alloc+0xb2e/0xf40 fs/btrfs/block-group.c:3732
Code: 00 00 e8 85 c0 19 fe 4c 89 f3 0f 1f 44 00 00 e8 78 c0 19 fe eb 16 e8 71 c0 19 fe 48 c7 c7 e0 0a 4d 8a 44 89 ee e8 42 9c 40 06 <0f> 0b 4c 89 ff 48 c7 c6 e0 18 4d 8a ba b5 0d 00 00 eb 74 e8 4a c0
RSP: 0000:ffffc9000397ed20 EFLAGS: 00010246
RAX: 240d74d2e043db00 RBX: ffff88807b1f2800 RCX: ffff88807cb3d940
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 000000000000000d R08: dffffc0000000000 R09: ffffed1017204f2c
R10: ffffed1017204f2c R11: 1ffff11017204f2b R12: dffffc0000000000
R13: ffffffffffffffe4 R14: ffff88807b1f2800 R15: ffff8880701590b0
FS:  00007f97585e26c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f37788ee000 CR3: 000000001e605000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 find_free_extent_update_loop fs/btrfs/extent-tree.c:4054 [inline]
 find_free_extent+0x2ba5/0x3560 fs/btrfs/extent-tree.c:4417
 btrfs_reserve_extent+0x20a/0x530 fs/btrfs/extent-tree.c:4498
 btrfs_alloc_tree_block+0x1e8/0x1300 fs/btrfs/extent-tree.c:4916
 btrfs_force_cow_block+0x449/0x17c0 fs/btrfs/ctree.c:425
 btrfs_cow_block+0x3c8/0x7c0 fs/btrfs/ctree.c:598
 btrfs_search_slot+0xa4a/0x20a0 fs/btrfs/ctree.c:-1
 btrfs_insert_empty_items+0x321/0x3d0 fs/btrfs/ctree.c:4012
 btrfs_new_inode+0x888/0x1740 fs/btrfs/inode.c:6670
 btrfs_create+0x292/0x5b0 fs/btrfs/inode.c:6923
 lookup_open fs/namei.c:3470 [inline]
 open_last_lookups fs/namei.c:3540 [inline]
 path_openat+0x11e1/0x2f30 fs/namei.c:3747
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3777
 do_sys_openat2+0x142/0x4a0 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x11b/0x140 fs/open.c:1273
 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:0x7f9758fb5749
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:00007f97585e2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f975920c180 RCX: 00007f9758fb5749
RDX: 0000000000000000 RSI: 0000000000143142 RDI: 0000200000000280
RBP: 00007f9759039f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f975920c218 R14: 00007f975920c180 R15: 00007ffdf35f15e8
 </TASK>

Crashes (48):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/03 01:19 linux-5.15.y cc5ec8769306 d6526ea3 .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_chunk_alloc
2025/05/12 00:03 linux-5.15.y 3b8db0e4f263 77908e5f .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_chunk_alloc
2024/07/12 08:30 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/12 05:16 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/05/20 04:52 linux-5.15.y 83655231580b c0f1611a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2023/09/25 21:25 linux-5.15.y b911329317b4 0b6a67ac .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2025/12/03 00:30 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/02/22 22:00 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/02/11 02:16 linux-5.15.y c16c81c81336 43f51a00 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/02/10 23:31 linux-5.15.y c16c81c81336 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/28 17:42 linux-5.15.y 003148680b79 f5427d7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/09 21:09 linux-5.15.y 4735586da88e 9220929f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/09 21:08 linux-5.15.y 4735586da88e 9220929f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/04 00:04 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/03 20:46 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/01/01 00:11 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/12/27 08:45 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/12/26 15:53 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/12/26 13: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_chunk_alloc
2024/12/23 23:43 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/12/22 03:13 linux-5.15.y 91786f140358 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/11/25 09:02 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/11/14 11:39 linux-5.15.y 3c17fc483905 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/11/08 22:00 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/10/04 09:13 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/09/29 16:24 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2024/07/08 17:58 linux-5.15.y f45bea23c39c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2025/07/28 20:56 linux-5.15.y c79648372d02 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2025/06/05 04:31 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/12/23 22:45 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/12/12 04:50 linux-5.15.y 0a51d2d4527b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/12/04 01:33 linux-5.15.y 0a51d2d4527b b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/10/28 19:04 linux-5.15.y 74cdd62cb470 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/10 04:27 linux-5.15.y f45bea23c39c bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/10 04:26 linux-5.15.y f45bea23c39c bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/10 04:26 linux-5.15.y f45bea23c39c bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/09 17:15 linux-5.15.y f45bea23c39c 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/09 03:06 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/09 03:04 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/09 03:04 linux-5.15.y f45bea23c39c bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/08 15:15 linux-5.15.y f45bea23c39c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/06 01:19 linux-5.15.y f45bea23c39c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/06 01:19 linux-5.15.y f45bea23c39c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/07/01 18:33 linux-5.15.y 4878aadf2d15 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/06/19 06:28 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2024/06/19 06:28 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
2023/09/25 19:34 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in btrfs_chunk_alloc
* Struck through repros no longer work on HEAD.