From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C18D7C197A0 for ; Thu, 16 Nov 2023 09:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344947AbjKPJm2 (ORCPT ); Thu, 16 Nov 2023 04:42:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234849AbjKPJmX (ORCPT ); Thu, 16 Nov 2023 04:42:23 -0500 Received: from mail-pg1-f206.google.com (mail-pg1-f206.google.com [209.85.215.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 992F519E for ; Thu, 16 Nov 2023 01:42:19 -0800 (PST) Received: by mail-pg1-f206.google.com with SMTP id 41be03b00d2f7-5c1b986082dso646752a12.0 for ; Thu, 16 Nov 2023 01:42:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700127739; x=1700732539; 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=3RnzHBbhjkhazRCLz60AVFolh9Rj4jRAESAh5FIgDJs=; b=Sd0T9oK8eE7SBFRlKFPVxyQ8lH+74+ZYH4CTcCAqFHl63hVMvNIvT7V64y5CzObMla MTwwgNpSMP5H6avv6meZh5EAMEYSFcD7BoYE/AW9Ju53KzzngSCEAZkelT/bSGhaAyFh Ojtkkh2bsqyTWz7xr1TZ8Pqi5h3VwOJDlmNiwmpz9fyAiaGmrs0oDlARP/hy5V5y5vhi btVUk52u0Cu9tiE3FjxjQwe87a/KMZYn6/tKhRZJGot0MJvYgQaFA4Pw2IZSKacuzg1R gsFzLSpE8NO3bbZCoY46Md4Y4OyYuRj+hHsjv5tNfpCmr/kpJjnQkcznhoqBEegArUJC 8Crg== X-Gm-Message-State: AOJu0YxhIIJO5Yuu37SLBS4lLccKOqfbpG/oOJaJ7i7kAy6OKngpUXBt lt72RaYTePEqE7duZK9y4ljzIYqKrrTpGny06u4kXwEbWsG6UvpKZA== X-Google-Smtp-Source: AGHT+IECmai3n7tnTdd1QXRpY6EyKcyhRLEl+Kv1NGEzCv07o5Flb86GjvMvKyDwXeh9kHjg4578UkN3tjuoKVw+J++eRq9nM3xh MIME-Version: 1.0 X-Received: by 2002:a63:4a60:0:b0:5aa:ea99:9eca with SMTP id j32-20020a634a60000000b005aaea999ecamr259977pgl.2.1700127739168; Thu, 16 Nov 2023 01:42:19 -0800 (PST) Date: Thu, 16 Nov 2023 01:42:19 -0800 In-Reply-To: <000000000000f5ce160602f29dd6@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000f74ea5060a41d5f4@google.com> Subject: Re: [syzbot] Re: [syzbot] [btrfs?] memory leak in btrfs_ref_tree_mod From: syzbot To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject: Re: [syzbot] [btrfs?] memory leak in btrfs_ref_tree_mod Author: bragathemanick0908@gmail.com #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 25aa0bebba72b318e71fe205bfd1236550cc9534 On 15/08/23 14:45, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 25aa0bebba72 Merge tag 'net-6.5-rc6' of git://git.kernel.o.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=169577fda80000 > kernel config: https://syzkaller.appspot.com/x/.config?x=2bf8962e4f7984f4 > dashboard link: https://syzkaller.appspot.com/bug?extid=d66de4cbf532749df35f > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=148191c3a80000 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/76b0857d2814/disk-25aa0beb.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/a01574755257/vmlinux-25aa0beb.xz > kernel image: https://storage.googleapis.com/syzbot-assets/262002db770e/bzImage-25aa0beb.xz > mounted in repro: https://storage.googleapis.com/syzbot-assets/b93cffaa6717/mount_0.gz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+d66de4cbf532749df35f@syzkaller.appspotmail.com > > BUG: memory leak > unreferenced object 0xffff888129851240 (size 64): > comm "syz-executor.0", pid 5069, jiffies 4294977377 (age 16.480s) > hex dump (first 32 bytes): > 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ > backtrace: > [] kmalloc_trace+0x25/0x90 mm/slab_common.c:1076 > [] kmalloc include/linux/slab.h:582 [inline] > [] btrfs_ref_tree_mod+0x211/0xb80 fs/btrfs/ref-verify.c:768 > [] btrfs_free_tree_block+0x116/0x450 fs/btrfs/extent-tree.c:3250 > [] __btrfs_cow_block+0x6a5/0xa30 fs/btrfs/ctree.c:601 > [] btrfs_cow_block+0x154/0x2b0 fs/btrfs/ctree.c:712 > [] commit_cowonly_roots+0x8c/0x3f0 fs/btrfs/transaction.c:1276 > [] btrfs_commit_transaction+0x999/0x15c0 fs/btrfs/transaction.c:2410 > [] btrfs_commit_super+0x86/0xb0 fs/btrfs/disk-io.c:4195 > [] close_ctree+0x543/0x730 fs/btrfs/disk-io.c:4349 > [] generic_shutdown_super+0x9e/0x1c0 fs/super.c:499 > [] kill_anon_super+0x19/0x30 fs/super.c:1110 > [] btrfs_kill_super+0x1d/0x30 fs/btrfs/super.c:2138 > [] deactivate_locked_super+0x46/0xd0 fs/super.c:330 > [] deactivate_super fs/super.c:361 [inline] > [] deactivate_super+0x9c/0xb0 fs/super.c:357 > [] cleanup_mnt+0x121/0x210 fs/namespace.c:1254 > [] task_work_run+0x8f/0xe0 kernel/task_work.c:179 > > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > If the bug is already fixed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > If you want to change bug's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the bug is a duplicate of another bug, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup >