syzbot


WARNING in btrfs_chunk_alloc

Status: auto-obsoleted due to no activity on 2023/09/22 15:34
Reported-by: syzbot+b001c5f1a59914f11936@syzkaller.appspotmail.com
First crash: 570d, last: 487d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in btrfs_chunk_alloc (2) origin:lts-only C done 13 88d 333d 0/3 upstream: reported C repro on 2023/11/15 16:30
linux-6.1 WARNING in btrfs_chunk_alloc 1 565d 565d 0/3 auto-obsoleted due to no activity on 2023/07/26 13:54
upstream WARNING in btrfs_chunk_alloc btrfs C inconclusive done 274 19h59m 691d 0/28 upstream: reported C repro on 2022/11/22 11:56
linux-5.15 WARNING in btrfs_chunk_alloc (2) origin:upstream C error 21 9d08h 383d 0/3 upstream: reported C repro on 2023/09/25 19:35

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4451 at fs/btrfs/block-group.c:3443 do_chunk_alloc fs/btrfs/block-group.c:3443 [inline]
WARNING: CPU: 0 PID: 4451 at fs/btrfs/block-group.c:3443 btrfs_chunk_alloc+0xc0e/0x1020 fs/btrfs/block-group.c:3666
Modules linked in:
CPU: 0 PID: 4451 Comm: kworker/u4:14 Not tainted 5.15.117-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: events_unbound btrfs_async_reclaim_data_space
RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3443 [inline]
RIP: 0010:btrfs_chunk_alloc+0xc0e/0x1020 fs/btrfs/block-group.c:3666
Code: 00 00 00 fc ff df 4c 8b 24 24 0f 1f 44 00 00 e8 d8 c3 fe fd eb 16 e8 d1 c3 fe fd 48 c7 c7 40 88 cb 8a 44 89 ee e8 32 97 ca fd <0f> 0b 48 8b 7c 24 20 48 c7 c6 40 96 cb 8a ba 73 0d 00 00 e9 8e 00
RSP: 0018:ffffc90004e6f9d8 EFLAGS: 00010246
RAX: ecb1ccdab5480900 RBX: dffffc0000000000 RCX: ffff88801adf3b80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffff888019048001 R08: ffffffff8166491c R09: ffffed10173467a0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807c0cb884
R13: ffffffffffffffe4 R14: ffff8880740f567b R15: 1ffff1100f819710
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0135f5810 CR3: 0000000071f3c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_space+0x4c5/0xd50 fs/btrfs/space-info.c:670
 btrfs_async_reclaim_data_space+0x118/0x3e0 fs/btrfs/space-info.c:1169
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/14 15:34 linux-5.15.y 471e639e59d1 d2ee9228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2023/04/18 03:58 linux-5.15.y 4fdad925aa1a 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2023/04/08 14:25 linux-5.15.y d86dfc4d95cd 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2023/04/06 11:35 linux-5.15.y d86dfc4d95cd 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2023/03/24 04:42 linux-5.15.y 115472395b0a f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
2023/03/23 09:31 linux-5.15.y 115472395b0a f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in btrfs_chunk_alloc
* Struck through repros no longer work on HEAD.