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: 722d, last: 12d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (19)
Title Replies (including bot) Last reply
[syzbot] Monthly btrfs report (Nov 2024) 0 (1) 2024/11/18 10:39
[syzbot] Monthly btrfs report (Oct 2024) 0 (1) 2024/10/17 07:41
[syzbot] Monthly btrfs report (Sep 2024) 0 (1) 2024/09/16 12:27
[syzbot] Monthly btrfs report (Aug 2024) 0 (1) 2024/08/16 09:47
[syzbot] Monthly btrfs report (Jul 2024) 0 (1) 2024/07/15 14:03
[syzbot] Monthly btrfs report (Jun 2024) 0 (1) 2024/06/14 08:14
[syzbot] Monthly btrfs report (May 2024) 0 (1) 2024/05/13 21:13
[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 48 1d05h 614d 0/3 upstream: reported C repro on 2023/03/17 14:37
linux-6.1 WARNING in btrfs_remove_chunk (2) origin:upstream C error 5 17d 337d 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 510d 601d 3/3 fixed on 2023/09/19 11:51
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/09/15 08:29 14m retest repro linux-next report log
2024/08/17 21:43 18m retest repro upstream report log
2024/08/17 21:34 15m retest repro upstream report log
2024/08/03 20:43 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/08/03 20:43 21m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/07/20 19:42 19m retest repro upstream report log
2024/07/06 19:24 15m retest repro linux-next report log
2024/05/28 07:32 15m retest repro upstream report log
2024/05/12 09:04 24m retest repro upstream OK log
2024/05/12 09:04 15m retest repro upstream report log

Sample crash report:
BTRFS info (device loop0): balance: start -s
BTRFS info (device loop0): relocating block group 1048576 flags system
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 1 PID: 5114 at fs/btrfs/volumes.c:3190 btrfs_remove_chunk+0x19f5/0x1a00 fs/btrfs/volumes.c:3190
Modules linked in:
CPU: 1 PID: 5114 Comm: syz-executor427 Not tainted 6.6.0-rc4-syzkaller-00284-gb9ddbb0cde2a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:btrfs_remove_chunk+0x19f5/0x1a00 fs/btrfs/volumes.c:3190
Code: e8 b0 68 5b fe e9 5c ef ff ff 4c 89 f7 e8 a3 68 5b fe e9 5d fd ff ff e8 09 77 06 fe 89 de 48 c7 c7 00 31 d7 8a e8 5b a0 cc fd <0f> 0b e9 5a fd ff ff 0f 1f 40 00 66 0f 1f 00 41 56 41 55 41 54 49
RSP: 0018:ffffc9000366f800 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffffffffffffe4 RCX: 0000000000000000
RDX: ffff888019346000 RSI: ffffffff814cf016 RDI: 0000000000000001
RBP: ffff888063f68d00 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff888073f21590 R15: ffff888073f21540
FS:  00007f8b20f656c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8b20f44d58 CR3: 000000007f03e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 btrfs_relocate_chunk+0x2b6/0x440 fs/btrfs/volumes.c:3320
 __btrfs_balance fs/btrfs/volumes.c:4010 [inline]
 btrfs_balance+0x20fc/0x3ef0 fs/btrfs/volumes.c:4387
 btrfs_ioctl_balance fs/btrfs/ioctl.c:3610 [inline]
 btrfs_ioctl+0x1362/0x5d00 fs/btrfs/ioctl.c:4643
 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:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8b20fa8e99
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:00007f8b20f65218 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8b210356c8 RCX: 00007f8b20fa8e99
RDX: 0000000020000480 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f8b210356c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b21002198
R13: f8a86047d2558a04 R14: 0030656c69662f2e R15: 0040000000000000
 </TASK>

Crashes (245):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/05/14 07:30 upstream a5131c3fdf26 fdb4c10c .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream 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
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/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/10/17 22:21 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in btrfs_remove_chunk
2024/09/28 19:07 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in btrfs_remove_chunk
2024/06/21 17:45 upstream 50736169ecc8 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root 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
2024/10/27 23:17 upstream ea1fda89f5b2 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_remove_chunk
2024/10/11 02:29 upstream 1d227fcc7222 cd942402 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in btrfs_remove_chunk
2024/06/07 14:26 upstream 8a92980606e3 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in btrfs_remove_chunk
2024/06/18 06:06 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 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
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
2024/11/08 07:44 linux-next 74741a050b79 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_remove_chunk
2024/10/11 09:36 linux-next d61a00525464 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root 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/11/08 03:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9bf801c386f9 c069283c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in btrfs_remove_chunk
2024/06/21 13:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ac2193b4b460 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 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.