From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) (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 3B7FA19D074 for ; Fri, 12 Dec 2025 00:46:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765500366; cv=none; b=WX68rNc8C0FZ1ImllqfN2aPLphe3jVg/VX8yDczI8zaQUideo7YHlX1hCGBqQm17C/ngr9MAI/MIQeWm4+Dj/rNXFektklK14xSP9nymxM3LQlilWMb3vwcaif2junuuU6LMap0jrajoQCIkwal4EudIRCuYvchXLiggmk8rZis= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765500366; c=relaxed/simple; bh=NM77c+pNRBD5AnuHOyp/d5JtZJL6k8c7gQ3qiN4uYiE=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=eIwkNNjAZxm8FoF+4Hty/NRG6BCB99Ea4TiHJQhy7rGq8aSAwBqSeS5FlfhMljynLpk0s+UOCTXxQ33R4zHV1RwmzWo4OsAWt0ERgjgpSZBvVu1JLKIRcLRqllA1viqnxrZuIbLDhPS8X3w2sez8uvdf8AP2Cz14+kn89Rdr8yk= 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.72 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-f72.google.com with SMTP id 46e09a7af769-7c766d79592so1249526a34.0 for ; Thu, 11 Dec 2025 16:46:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765500363; x=1766105163; 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=tfMGqSpRV/sStp/xXbVqUuX2kr2tUkpNWiYgHXU5Jg8=; b=bHoP+makUDJafyStVZt8JiCLWDkUdozDRQ3U1ZIw+jmcHmjM96YXggj+15srbI6YOI TnD1Y8PYHPx7YKgQ1+5T+mjR9E4IukIsOSbtnzIhNu3Oraj67kvVagJqtQNYvUa5G2a4 RRqIkXNy24+nHk1JkqJDbfdB7mhElGW3789hjkR9PwAsID0eSe9SdbJuBj3v+6dDNQGE 19T5bB49N2WBsoDI+QrQqpu6TPFoN0hB5JobFIzSwTAklqGt7QPZl6xOlPcSaQ6ohRhF nAcsPZ+MQlnvWzAhSrbD+6IufKKjtEhnr3/zAUW7fULoYHzZsCD3UgzArtgKNJfiCUBO H2bg== X-Forwarded-Encrypted: i=1; AJvYcCW6M8Jr5uPXeRppz3zSOOafpvvaK2B6NsrWucA5uzSJbimT436wwUfxFPTiLWwKq4Y4g3QehM2DImFGbOk=@vger.kernel.org X-Gm-Message-State: AOJu0Yxn7oj5QuTlC8Ef1PC7MKR63IAe8eiWKYzFpxQPqon98LzHBs/C ruqMzOcY7Cbs/dAY2hPATcMPxsE02toI6TWmpo0relaeolNe7o9t7V+SX5QrSW8DsWVSJ1LEQUH e6cYtvNrnHwhWPqT55t4hI7uD/rzk1OxsM5+kKhVMTVnNKKSIjm5ci1HCBbc= X-Google-Smtp-Source: AGHT+IE1i7ht/bsWIngwmsPsevIsGqUur1mX+WrCPcOLIo1/MRL6oT19nxxat9xEJRbrqVlsIj53wfEuDikddz9fyt4r5j2PNvpg 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:308f:b0:659:9a49:8eb3 with SMTP id 006d021491bc7-65b45256226mr188037eaf.55.1765500363337; Thu, 11 Dec 2025 16:46:03 -0800 (PST) Date: Thu, 11 Dec 2025 16:46:03 -0800 In-Reply-To: <20251212003024.3563901-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <693b65cb.a70a0220.33cd7b.003e.GAE@google.com> Subject: Re: [syzbot] [btrfs?] kernel BUG in btrfs_create_qgroup From: syzbot To: kartikey406@gmail.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 state EA): 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/5765 Modules linked in: CPU: 0 UID: 0 PID: 5765 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 06 ae 32 fe 4d 8b 27 4c 89 e7 48 8b 6c 24 18 48 89 ee e8 d3 d3 ca fd 49 39 ec 73 1c e8 69 d1 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:ffffc9000268f9d0 EFLAGS: 00010293 RAX: ffffffff83f6eee7 RBX: ffffffffffea1000 RCX: ffff888000c18000 RDX: 0000000000000000 RSI: 000000000015f000 RDI: 000000000015e000 RBP: 000000000015f000 R08: ffffffff8fa21877 R09: 1ffffffff1f4430e R10: dffffc0000000000 R11: fffffbfff1f4430f R12: 000000000015e000 R13: 1ffff110022dc410 R14: dffffc0000000000 R15: ffff8880116e2080 FS: 0000555564980500(0000) GS:ffff88808d22f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556499b5c8 CR3: 0000000023114000 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:0x7f1756990af7 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:00007ffc9d03bb88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f1756a13d7d RCX: 00007f1756990af7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc9d03bc40 RBP: 00007ffc9d03bc40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc9d03ccd0 R13: 00007f1756a13d7d R14: 00000000000277e0 R15: 00007ffc9d03cd10 Tested on: commit: d358e525 Merge tag 'for-6.19/dm-changes' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13299592580000 kernel config: https://syzkaller.appspot.com/x/.config?x=de48dccdf203ea90 dashboard link: https://syzkaller.appspot.com/bug?extid=803e4cb8245b52928347 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=10e4561a580000