syzbot


WARNING in btrfs_remove_chunk

Status: upstream: reported C repro on 2022/11/30 08:16
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+e8582cc16881ec70a430@syzkaller.appspotmail.com
First crash: 506d, last: 5d05h
Cause bisection: failed (error log, bisect log)
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (12)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Mar 2024) 0 (1) 2024/03/12 09:29
[syzbot] Monthly btrfs report (Feb 2024) 2 (3) 2024/02/12 12:15
[syzbot] Monthly btrfs report (Jan 2024) 0 (1) 2024/01/10 09:16
[syzbot] Monthly btrfs report (Dec 2023) 0 (1) 2023/12/06 10:05
[syzbot] Monthly btrfs report (Nov 2023) 0 (1) 2023/11/05 13:07
[syzbot] Monthly btrfs report (Aug 2023) 0 (1) 2023/08/30 09:53
[syzbot] Monthly btrfs report (Jul 2023) 0 (1) 2023/07/30 13:15
[syzbot] Monthly btrfs report (Jun 2023) 0 (1) 2023/06/29 10:14
[syzbot] Monthly btrfs report (May 2023) 0 (1) 2023/05/30 08:21
[syzbot] Monthly btrfs report (Apr 2023) 0 (1) 2023/04/27 10:13
[syzbot] [btrfs] Monthly Report 1 (2) 2023/03/27 13:42
[syzbot] WARNING in btrfs_remove_chunk 0 (1) 2022/11/30 08:16
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in btrfs_remove_chunk origin:upstream missing-backport C inconclusive 28 115d 398d 0/3 upstream: reported C repro on 2023/03/17 14:37
linux-6.1 WARNING in btrfs_remove_chunk (2) origin:upstream C 3 30d 121d 0/3 upstream: reported C repro on 2023/12/20 03:26
linux-6.1 WARNING in btrfs_remove_chunk origin:lts-only C done 10 294d 385d 3/3 fixed on 2023/09/19 11:51
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/19 09:25 22m retest repro linux-next error OK
2024/03/04 21:23 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/03/04 21:23 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/02/01 17:00 24m retest repro upstream report log
2024/02/01 17:00 22m retest repro upstream report log
2024/01/08 19:30 17m retest repro linux-next report log
2023/12/25 18:21 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/12/25 18:21 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/10/22 11:51 14m retest repro upstream report log
2023/09/18 03:43 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
BTRFS error (device loop0): allocation failed flags 2, wanted 4096 tree-log 0, relocation: 0
BTRFS critical (device loop0): entry offset 1048576, bytes 4194304, bitmap no
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 7146 at fs/btrfs/volumes.c:3234 btrfs_remove_chunk+0x18d7/0x1b10 fs/btrfs/volumes.c:3234
Modules linked in:
CPU: 1 PID: 7146 Comm: syz-executor308 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:btrfs_remove_chunk+0x18d7/0x1b10 fs/btrfs/volumes.c:3234
Code: 68 57 fe e9 84 fa ff ff 4c 89 f7 e8 03 68 57 fe e9 35 ff ff ff e8 e9 5f 00 fe 90 48 c7 c7 60 d1 17 8b 89 de e8 0a 56 c6 fd 90 <0f> 0b 90 90 e9 2d ff ff ff 4c 89 f7 e8 d8 67 57 fe e9 9b fe ff ff
RSP: 0018:ffffc9000e4ff818 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: ffffffff814cf119
RDX: ffff88802c21bb80 RSI: ffffffff814cf126 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88807c968878 R14: ffff888073c372d0 R15: ffff888073c372cc
FS:  00007f665501d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055597dcc64a8 CR3: 000000001e63c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_relocate_chunk+0x2b6/0x440 fs/btrfs/volumes.c:3364
 __btrfs_balance fs/btrfs/volumes.c:4054 [inline]
 btrfs_balance+0x20fe/0x3f00 fs/btrfs/volumes.c:4431
 btrfs_ioctl_balance fs/btrfs/ioctl.c:3623 [inline]
 btrfs_ioctl+0x12e8/0x61e0 fs/btrfs/ioctl.c:4658
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f6655060f59
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f665501d218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f66550ed6c8 RCX: 00007f6655060f59
RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f66550ed6c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f66550ba66c
R13: 0030656c69662f2e R14: 64696c6f76627573 R15: 0000000100004000
 </TASK>

Crashes (227):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/15 20:49 upstream 052d534373b7 2a7bcc7f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_remove_chunk
2023/10/08 09:18 upstream b9ddbb0cde2a 5e837c76 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_remove_chunk
2024/04/14 00:24 upstream fa4022cb7361 c8349e48 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in btrfs_remove_chunk
2023/05/24 10:57 linux-next 715abedee4cd 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_remove_chunk
2023/01/26 04:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
2022/11/30 18:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
2023/06/15 17:15 upstream b6dad5178cea 90d4044e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/03/31 04:29 upstream 8bb95a1662f8 f325deb0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_remove_chunk
2022/11/30 01:43 upstream ca57f02295f1 579a3740 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/01/18 21:42 linux-next f3381a7baf5c 42660d9e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_remove_chunk
2023/03/31 03:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59caa87f9dfb f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
2024/02/17 04:58 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2024/02/11 20:55 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/12/11 17:39 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/12/06 00:44 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_remove_chunk
2023/11/28 12:41 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_remove_chunk
2023/11/26 20:30 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_remove_chunk
2023/11/24 21:48 upstream f1a09972a45a 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/11/20 16:36 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_remove_chunk
2023/11/17 21:57 upstream 6bc40e44f1dd cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/11/12 22:42 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/08/19 22:43 upstream aa9ea98cca3a d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/07/19 06:34 upstream 74f1456c4a5f 022df2bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/07/03 11:28 upstream a901a3568fd2 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/26 21:49 upstream 6995e2de6891 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/24 12:17 upstream 61dabacdad4e 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/23 16:08 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/21 03:35 upstream 99ec1ed7c2ed 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/19 05:20 upstream 8c1f0c38b310 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/19 03:23 upstream 8c1f0c38b310 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/19 01:09 upstream 8c1f0c38b310 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/18 03:30 upstream 1b29d271614a f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/13 18:17 upstream fb054096aea0 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/09 01:15 upstream 25041a4c02c7 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/06 15:44 upstream a4d7d7011219 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/06/02 20:22 upstream 9e87b63ed37e a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_remove_chunk
2023/06/02 18:34 upstream c43a6ff9f93f a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/05/25 03:01 upstream 9d646009f65d 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/05/06 01:06 upstream 7163a2111f6c de870ca5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/26 19:01 upstream 5c7ecada25d2 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/26 15:37 upstream 0cfd8703e7da 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/26 10:57 upstream 0cfd8703e7da 8d843721 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/25 21:41 upstream 173ea743bf7a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/25 07:40 upstream 1a0beef98b58 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/24 21:37 upstream 1a0beef98b58 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/24 16:55 upstream 457391b03803 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/24 12:24 upstream 457391b03803 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/23 21:44 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/23 00:47 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/22 16:53 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/22 09:38 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/21 19:45 upstream 2af3e53a4dc0 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/19 06:28 upstream af67688dca57 94b4184e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/19 05:13 upstream af67688dca57 d931e9f0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/18 04:36 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/17 23:11 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/17 14:23 upstream 6a8f57ae2eb0 c6ec7083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/04/15 01:49 upstream 95abc817ab3a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/03/20 23:34 upstream 7d31677bb7b1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in btrfs_remove_chunk
2022/12/13 02:57 upstream 3a28c2c89f4b 67be1ae7 .config console log report info ci-qemu-upstream WARNING in btrfs_remove_chunk
2022/11/29 23:47 upstream ca57f02295f1 579a3740 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_remove_chunk
2023/12/06 00:32 linux-next 0f5f12ac05f3 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_remove_chunk
2024/01/09 13:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
2023/06/05 13:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb0f1697d729 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
* Struck through repros no longer work on HEAD.