syzbot


WARNING in btrfs_free_block_groups

Status: auto-obsoleted due to no activity on 2023/11/09 08:59
Subsystems: btrfs
[Documentation on labels]
Reported-by: syzbot+ba5b9ee1d6b1efe0eacf@syzkaller.appspotmail.com
First crash: 392d, last: 275d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [btrfs?] WARNING in btrfs_free_block_groups 0 (1) 2023/04/10 03:19
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in btrfs_free_block_groups btrfs C 5 449d 584d 0/1 upstream: reported C repro on 2022/09/26 04:39

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5052 at fs/btrfs/block-group.c:4346 btrfs_free_block_groups+0xab0/0xe60 fs/btrfs/block-group.c:4345
Modules linked in:
CPU: 0 PID: 5052 Comm: syz-executor.1 Not tainted 6.5.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:btrfs_free_block_groups+0xab0/0xe60 fs/btrfs/block-group.c:4345
Code: ef e8 24 1a 35 fe 48 8d 83 50 ff ff ff 48 89 44 24 08 48 8b 6d 00 31 ff 48 89 ee e8 5a 55 dc fd 48 85 ed 74 1c e8 10 51 dc fd <0f> 0b 48 8b 7c 24 10 48 8b 74 24 08 31 d2 31 c9 e8 1b d7 fd ff eb
RSP: 0018:ffffc900040dfad8 EFLAGS: 00010293
RAX: ffffffff83af5911 RBX: ffff888021de48b0 RCX: ffff8880241e1dc0
RDX: 0000000000000000 RSI: 0000000000029000 RDI: 0000000000000000
RBP: 0000000000029000 R08: ffffffff83af56af R09: 1ffff110043bc900
R10: dffffc0000000000 R11: ffffed10043bc901 R12: ffff88802aca5118
R13: dffffc0000000000 R14: 1ffff11005594a23 R15: ffff88802aca59e0
FS:  00005555564f8480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac787b68e5 CR3: 00000000367ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 close_ctree+0x72c/0xd00 fs/btrfs/disk-io.c:4406
 generic_shutdown_super+0x134/0x340 fs/super.c:499
 kill_anon_super+0x3b/0x60 fs/super.c:1110
 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2138
 deactivate_locked_super+0xa4/0x110 fs/super.c:330
 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254
 task_work_run+0x24a/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
 syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297
 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7feed7c7de17
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffda3abd608 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007feed7c7de17
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffda3abd6c0
RBP: 00007ffda3abd6c0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffda3abe780
R13: 00007feed7cc73b9 R14: 0000000000047f12 R15: 0000000000000007
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/01 08:58 upstream 5d0c230f1de8 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_free_block_groups
2023/04/06 03:13 upstream 99ddf2254feb 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in btrfs_free_block_groups
* Struck through repros no longer work on HEAD.