syzbot


WARNING in btrfs_chunk_alloc

Status: auto-obsoleted due to no activity on 2023/07/26 13:54
Reported-by: syzbot+b511d1aeef04cf811d00@syzkaller.appspotmail.com
First crash: 477d, last: 477d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_chunk_alloc 6 399d 482d 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 C done 13 1d06h 245d 0/3 upstream: reported C repro on 2023/11/15 16:30
upstream WARNING in btrfs_chunk_alloc btrfs C inconclusive done 256 12d 603d 0/27 upstream: reported C repro on 2022/11/22 11:56
linux-5.15 WARNING in btrfs_chunk_alloc (2) origin:upstream C error 19 5d21h 296d 0/3 upstream: reported C repro on 2023/09/25 19:35

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3904 at fs/btrfs/block-group.c:3536 do_chunk_alloc fs/btrfs/block-group.c:3536 [inline]
WARNING: CPU: 0 PID: 3904 at fs/btrfs/block-group.c:3536 btrfs_chunk_alloc+0xe47/0xff0 fs/btrfs/block-group.c:3778
Modules linked in:
CPU: 0 PID: 3904 Comm: kworker/u4:10 Not tainted 6.1.21-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: events_unbound btrfs_async_reclaim_data_space
RIP: 0010:do_chunk_alloc fs/btrfs/block-group.c:3536 [inline]
RIP: 0010:btrfs_chunk_alloc+0xe47/0xff0 fs/btrfs/block-group.c:3778
Code: fd 48 c7 c7 e0 7c 2f 8b 44 89 e6 e8 03 c3 a8 fd 0f 0b e9 02 fe ff ff e8 37 24 e0 fd 48 c7 c7 e0 7c 2f 8b 89 ee e8 e9 c2 a8 fd <0f> 0b e9 0d fe ff ff e8 1d 24 e0 fd 48 c7 c7 e0 7c 2f 8b 44 89 e6
RSP: 0018:ffffc900055d79c8 EFLAGS: 00010246
RAX: 2493fe02cb205f00 RBX: ffff888074ef4001 RCX: ffff88808b4b3a80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffffffffffe4 R08: ffffffff8152292e R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807cb6c000
R13: dffffc0000000000 R14: ffff88807c568000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000023dc8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_space+0xa03/0xe60 fs/btrfs/space-info.c:770
 btrfs_async_reclaim_data_space+0x146/0x4f0 fs/btrfs/space-info.c:1300
 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
 kthread+0x268/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/28 13:53 linux-6.1.y e3a87a10f259 47f3aaf1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in btrfs_chunk_alloc
* Struck through repros no longer work on HEAD.