syzbot


WARNING in btrfs_create_pending_block_groups

Status: upstream: reported C repro on 2022/11/28 10:01
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+5fd11a1f057a67a03a1b@syzkaller.appspotmail.com
First crash: 379d, last: 3d10h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in btrfs_create_pending_block_groups 0 (1) 2022/11/28 10:01
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in btrfs_create_pending_block_groups origin:upstream C 1 6h09m 120d 0/3 upstream: reported C repro on 2023/08/13 16:14
linux-5.15 WARNING in btrfs_create_pending_block_groups origin:upstream C 1 24d 166d 0/3 upstream: reported C repro on 2023/06/28 06:17
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/12/08 05:50 22m retest repro upstream report log
2023/12/08 05:50 14m retest repro upstream report log
2023/10/01 12:24 22m retest repro linux-next report log
2023/10/01 12:24 41m retest repro linux-next OK log
2023/10/01 12:24 31m retest repro upstream report log
2023/10/01 12:24 1h31m retest repro upstream report log
2023/10/01 12:24 1h46m retest repro linux-next report log
2023/10/01 13:09 12m retest repro upstream report log
2023/10/01 13:09 12m retest repro upstream report log
2023/10/01 13:09 11m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/05/20 07:06 24m bisect fix upstream job log (0) log
2023/04/20 06:11 52m bisect fix upstream job log (0) log

Sample crash report:
BTRFS info (device loop0): doing ref verification
BTRFS info (device loop0): using free space tree
BTRFS info (device loop0): enabling ssd optimizations
BTRFS info (device loop0): auto enabling async discard
BTRFS info (device loop0): balance: start -f -susage=6,vrange=0..9223372036854775809
------------[ cut here ]------------
BTRFS: Transaction aborted (error -28)
WARNING: CPU: 0 PID: 5028 at fs/btrfs/block-group.c:2686 btrfs_create_pending_block_groups+0x10b7/0x1220 fs/btrfs/block-group.c:2686
Modules linked in:
CPU: 0 PID: 5028 Comm: syz-executor115 Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:btrfs_create_pending_block_groups+0x10b7/0x1220 fs/btrfs/block-group.c:2686
Code: 2d b7 b1 8c ba 85 0a 00 00 44 89 f9 e8 52 2c 15 07 e9 85 f4 ff ff e8 38 53 d8 fd 48 c7 c7 c0 07 4d 8b 44 89 fe e8 a9 75 9e fd <0f> 0b e9 aa fe ff ff e8 1d 53 d8 fd 48 c7 c7 c0 07 4d 8b 48 8b 1c
RSP: 0000:ffffc900038cf6e0 EFLAGS: 00010246
RAX: 27d563d631214000 RBX: ffff888025078001 RCX: ffff888020e85940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900038cf978 R08: ffffffff81544192 R09: 1ffff92000719e30
R10: dffffc0000000000 R11: fffff52000719e31 R12: 0000000000000000
R13: 1ffff110050bd414 R14: dffffc0000000000 R15: 00000000ffffffe4
FS:  000055555721f380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557843906000 CR3: 0000000072e09000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __btrfs_end_transaction+0x150/0x630 fs/btrfs/transaction.c:1024
 btrfs_inc_block_group_ro+0x5ac/0x610 fs/btrfs/block-group.c:2947
 btrfs_relocate_block_group+0x43b/0xd70 fs/btrfs/relocation.c:4078
 btrfs_relocate_chunk+0x12c/0x3b0 fs/btrfs/volumes.c:3278
 __btrfs_balance+0x1b06/0x2690 fs/btrfs/volumes.c:4013
 btrfs_balance+0xbd8/0x10d0 fs/btrfs/volumes.c:4390
 btrfs_ioctl_balance+0x496/0x7c0 fs/btrfs/ioctl.c:3608
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5b5f4f7939
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffedb984e28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f5b5f4f7939
RDX: 0000000020001200 RSI: 00000000c4009420 RDI: 0000000000000004
RBP: 00007f5b5f56f610 R08: 0000000000000000 R09: 00007ffedb984ff8
R10: 00000000000050e7 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffedb984fe8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (64):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/31 05:13 upstream 14ab6d425e80 b5729d82 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in btrfs_create_pending_block_groups
2023/08/01 14:48 upstream 5d0c230f1de8 2a0d0f29 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_create_pending_block_groups
2023/07/06 18:28 upstream c17414a273b8 1a2f6297 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/06/14 20:56 upstream b6dad5178cea d2ee9228 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_create_pending_block_groups
2023/06/12 07:39 upstream 4c605260bc60 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in btrfs_create_pending_block_groups
2023/06/07 03:30 upstream a4d7d7011219 a4ae4f42 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/21 10:45 upstream 6feb57c2fd7c d3e76707 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/12 16:23 upstream 830b3c68c1fb 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2022/11/27 02:22 upstream 644e9524388a f4470a7b .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/08/14 08:12 linux-next 21ef7b1e17d0 39990d51 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/02/24 13:12 linux-next 0222aa9800b2 9e2ebb3c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/06/23 08:40 upstream 8a28a0b6f1a1 79782afc .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/09/03 10:46 linux-next a47fc304d2b6 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/11/24 01:33 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/11/23 09:24 upstream 9b6de136b5f0 fc59b78e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/11/13 13:03 upstream b85ea95d0864 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/08/28 07:40 upstream 85eb043618bb 03d9c195 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_create_pending_block_groups
2023/08/20 00:03 upstream aa9ea98cca3a d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/08/18 22:04 upstream 0e8860d2125f acb1ba71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/08/16 23:39 upstream 4853c74bd7ab 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/08/10 05:24 upstream cacc6e22932f 13ca4cd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/07/04 09:59 upstream 24be4d0b46bb 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/07/03 23:11 upstream a901a3568fd2 6e553898 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/06/26 17:51 upstream 6995e2de6891 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/06/23 16:43 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/06/21 21:27 upstream e660abd551f1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/06/07 03:02 upstream a4d7d7011219 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/05/27 14:37 upstream 49572d536129 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/03/21 04:57 upstream 7d31677bb7b1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/03/20 14:30 upstream e8d018dd0257 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in btrfs_create_pending_block_groups
2023/03/16 07:52 upstream 9c1bec9c0b08 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/03/15 17:10 upstream 6015b1aca1a2 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/03/06 10:09 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/02/22 02:41 upstream 9e58df973d22 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/06 06:35 upstream 4ec5183ec486 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/03 08:05 upstream e7368fd30165 33fc5c09 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/03 07:12 upstream e7368fd30165 33fc5c09 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/02 17:34 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/02 12:33 upstream 9f266ccaa2f5 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/02/02 00:44 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/31 11:59 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/26 00:23 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/25 18:04 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/22 17:22 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/22 01:06 upstream f883675bf652 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/17 02:24 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/15 18:00 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/01/15 17:50 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/11 05:13 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/11 01:48 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/09 08:50 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/07 07:20 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/06 09:39 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/01 22:31 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/31 05:47 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/21 23:35 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/21 15:11 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/20 11:46 upstream aeba12b26c79 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/17 09:36 upstream 84e57d292203 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/12/16 20:23 upstream 84e57d292203 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2022/11/27 20:28 upstream faf68e3523c2 f4470a7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_create_pending_block_groups
2023/01/31 18:56 linux-next 80bd9028feca 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2022/12/17 09:51 linux-next ca39c4daa6f7 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in btrfs_create_pending_block_groups
2023/01/19 02:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in btrfs_create_pending_block_groups
* Struck through repros no longer work on HEAD.