From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C79C3128D8 for ; Mon, 8 Dec 2025 11:06:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765191973; cv=none; b=qw9/3gE9JhpyUT2h/1p9BnZM6h5cLCLXHxOIzN23+oAjljB8HBjNFYzuvvOVhbjNzLBybXem/B4gn7iL00J0y0d07VGiBZ1Br5qoZNnJ8DNEZpSkKQqSV+WZ73tMU9Dh1T2EV4/YmIAcZp4urXlW3Kmp4kwOUCWi4Uyr7AHgeHM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765191973; c=relaxed/simple; bh=w0cW39cbVdibRZovWO2KB+SNH57ETdxPnTGsQVHdAkg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=YzAAvBY1olKJvBtdaaTMwFZlfUYg9eySr/1UaxowtvVuSsnUuHWPaaEXxoZF+6pIeTp8civtGSF+bVAItpdh1CfBPWuE/5GXVYkFgP6opEzvD1k+XryDIwbz0CKmLASseR1OAXLoZIUefdFFoOAVEd0zC4lJEmcgMIdlVUSxVHY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-7c702d1a4f7so8703748a34.3 for ; Mon, 08 Dec 2025 03:06:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765191964; x=1765796764; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HDYvIWZ+EWtsMSwOtnBzh9qohMFSmbTo9sra8mei+/8=; b=PpkKEf7AybErjDtU3Du+0AFVHaHfNIFo84G/ppTjzeaVKBqllARuJ4zFXuFrUqOYYc lYjOP9zi0JzlTz3yeKF5kXx5gTBUaRIfVH1dviKiNprnLX+RFFGUcQwiPZSdBTEgFF21 tasqfHj5owxXN5AHNl+5ZJJnKdzu/U57rs4Cx3HK190s+KDdWK280yic+IPGeu23MoRy 0owPp6YUgNxQkG1S+eq8WCh3JYTH1vVc3220g3852EaXx2EB+/eubNlTk0yH4OKs5YR3 XkXhZThZLMjNt8pD6Z38fiIOrWOp16GYI6weplLXkh82MITO9X/1vCe7VjN0hEPKe2NC L/FQ== X-Forwarded-Encrypted: i=1; AJvYcCXxJ14KRy5wzK/1lW/5w6pKdp7zrMXS93zEvJRwXdbZ0g62fvu1yYJr2jXWsyDf+W9GAtRODnjC5YiN3iQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yy75hWGmBZxisxGr4/sx2Pcq1YmdbToNuFvN7AbMOuq8TxoITei kFiAMDy55SH05F6Cc9zwOJWc8Q3hMK2ZdL/q3d0gW722TZbLX7I8HNzQXLf/UqkwIAoJlc+L/f+ OsNIyTv1s20ErZKXJT1OmnJwqXYPZAKT+WZeZmR8O7Ym+nS8IberVtmoQ8HY= X-Google-Smtp-Source: AGHT+IF0pRUYsGGURH6pfAGpyg/oMszQ/u3zlk/6sUGw6qa4noUeJc++so0RWMBkXYaJ/dmMTqXBa+BqZQRGIHmbdF8xuDfXIQVS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:621:b0:659:9a49:8fe3 with SMTP id 006d021491bc7-6599a8c4527mr3097141eaf.16.1765191964490; Mon, 08 Dec 2025 03:06:04 -0800 (PST) Date: Mon, 08 Dec 2025 03:06:04 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6936b11c.a70a0220.38f243.00a1.GAE@google.com> Subject: Re: [syzbot] [btrfs?] kernel BUG in btrfs_qgroup_inherit From: syzbot To: eadavis@qq.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in btrfs_space_info_update_bytes_may_use BTRFS info (device loop0): last unmount of filesystem 395ef67a-297e-477c-816d-cd80a5b93e5d ------------[ cut here ]------------ WARNING: fs/btrfs/space-info.h:257 at btrfs_space_info_update_bytes_may_use+0x318/0x600 fs/btrfs/space-info.h:257, CPU#0: syz-executor/5723 Modules linked in: CPU: 0 UID: 0 PID: 5723 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:btrfs_space_info_update_bytes_may_use+0x318/0x600 fs/btrfs/space-info.h:257 Code: 00 00 74 08 4c 89 ff e8 56 d6 32 fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 73 fc ca fd 49 39 ec 73 1c e8 09 fa ca fd 90 <0f> 0b 90 31 db 43 80 7c 35 00 00 0f 85 48 ff ff ff e9 4b ff ff ff RSP: 0018:ffffc900029ff9d0 EFLAGS: 00010293 RAX: ffffffff83f6c687 RBX: ffffffffffea0000 RCX: ffff888043438000 RDX: 0000000000000000 RSI: 0000000000160000 RDI: 000000000015f000 RBP: 0000000000160000 R08: ffffffff8fa19777 R09: 1ffffffff1f432ee R10: dffffc0000000000 R11: fffffbfff1f432ef R12: 000000000015f000 R13: 1ffff11007879710 R14: dffffc0000000000 R15: ffff88803c3cb880 FS: 000055558d353500(0000) GS:ffff88808d239000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff9fad9d38 CR3: 0000000041c16000 CR4: 0000000000352ef0 Call Trace: btrfs_space_info_free_bytes_may_use fs/btrfs/space-info.h:294 [inline] block_rsv_release_bytes fs/btrfs/block-rsv.c:153 [inline] btrfs_block_rsv_release+0x462/0x570 fs/btrfs/block-rsv.c:290 btrfs_release_global_block_rsv+0x33/0x270 fs/btrfs/block-rsv.c:455 btrfs_free_block_groups+0xcbf/0xfd0 fs/btrfs/block-group.c:4579 close_ctree+0x7bc/0x1380 fs/btrfs/disk-io.c:4410 generic_shutdown_super+0x135/0x2c0 fs/super.c:643 kill_anon_super+0x3b/0x70 fs/super.c:1289 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2129 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1318 task_work_run+0x1d4/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0xff/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2e3/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3cbc790af7 Code: a8 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 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fff9fada4e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f3cbc813d7d RCX: 00007f3cbc790af7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff9fada5a0 RBP: 00007fff9fada5a0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff9fadb630 R13: 00007f3cbc813d7d R14: 0000000000026b03 R15: 00007fff9fadb670 Tested on: commit: c2f2b01b Merge tag 'i3c/for-6.19' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14fd321a580000 kernel config: https://syzkaller.appspot.com/x/.config?x=1889d7812b50029c dashboard link: https://syzkaller.appspot.com/bug?extid=b44d4a4885bc82af2a06 compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=173be992580000