Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3697755imw; Mon, 11 Jul 2022 13:57:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZAIO3HNs+x8B0ESZmpSlxOv+oUchvYE8LxuqjT2xN+ScyKqtW/6CsB9bdA7kF2meBhjI8 X-Received: by 2002:a17:902:e80a:b0:16c:408c:e548 with SMTP id u10-20020a170902e80a00b0016c408ce548mr9810897plg.171.1657573054044; Mon, 11 Jul 2022 13:57:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657573054; cv=none; d=google.com; s=arc-20160816; b=zPzUJJnXzVcJWSm7hwukrSCiKrgpgpg7vxSUaSVfkchTE9ic54+025RLi+QvoR1s6G v2rf3aXZglnDztrGknd85fj/JSVt5jf+u6YOP4FakopJLUc2CI1+Ikivg7P8TCPQetk8 LWZOuCFlmCQPs5BYbzc0GHctfn1foztdSOyLYk+ocOSPjoYE2eh28+maDZSKPMJFSDwb BvK8W/Ap35ytG3lOL1+akFCqR1eDAfzKfuo8noCjHIXJB5Ifuj+QKihQ6wk7/MIcz01S WSFnlt38/G6ztfxaT2VJ+ZKIxLtSqNFkPaYCEl2GZFHO3O7NktkE1QdOnZLMY0c1uQ6R bbkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XrLdqfPwURSj69Ep14KJAkiXrmXt6ijJ4MRJWNKc45s=; b=o752k1IXODiPWCwMW5PYgukistH5/VRjc381Z/kBT4tHQKLCN4YwiG67lKBErOSYs4 W4JvOwaQxyyISZDp4sFU1f/8ifoQgP/wqyh5dNYnRX/EnO5iW6OwWmQc2ZmIWrialJbu VfdtjWD404jDXyqqwiifyVBgDVkwK0JEqe4h8dg/18mP7nGTcWaxQQz5qlAU9K1MuzKk cxtpTjtWaIJjj+le2c0Z4BHX5v7IE3PidLRteChEeCb4rT3DsN0/uXVhao6JxRJjAdyX u+dUlDb0gdoNtrwp9HmWl/9mkAVrGTmbXSKUNIhQYrRBMVPsLGhwpsU4xMprlJOks1le 3Esg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RENKm906; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a170902f70f00b00168972d3f30si10991388plo.245.2022.07.11.13.57.20; Mon, 11 Jul 2022 13:57:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=RENKm906; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231443AbiGKUrJ (ORCPT + 99 others); Mon, 11 Jul 2022 16:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbiGKUrH (ORCPT ); Mon, 11 Jul 2022 16:47:07 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91F5641D24 for ; Mon, 11 Jul 2022 13:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XrLdqfPwURSj69Ep14KJAkiXrmXt6ijJ4MRJWNKc45s=; b=RENKm906mJC1CPNUrTj//EtxjB ODJ6LCUxuYKVl3TZ799Tz5Jj20/2u8K8Sj+/cnsHAxXdcJYmJVS+V7Kfkjb+GTKjjfd4eRKlMcNf0 SLg8VrC+8dRAGJDQxEAxLC6uXf7hJz1CEikVye87ngGiFcj5eimww85g9AWMnBdrKCw6lfVPocxGH PNs2LLlsdcSymV1WCIPkysS2Kr0EYVLU5Zo6+PUbOlY4rVPBtVmKw3oB+/WUN7c9VnmI6rhrzm5YI QHJzl57I/7LHvlwscmfzzS3QzuZf+jRgDpoWNl3C0B+LJH+0KXdrKzKnGqM9MgzX1tWfty144NTLC hGe3djOQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1oB0J1-006HJO-F9; Mon, 11 Jul 2022 20:46:59 +0000 Date: Mon, 11 Jul 2022 21:46:59 +0100 From: Matthew Wilcox To: Andrew Morton Cc: syzbot , linux-kernel@vger.kernel.org, linux-mm@kvack.org, syzkaller-bugs@googlegroups.com, Zach O'Keefe , Yang Shi , Liam Howlett Subject: Re: [syzbot] memory leak in xas_create Message-ID: References: <000000000000eb2d6c05e35a0d73@google.com> <20220711133808.d86400ce9960febcb0fd537b@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220711133808.d86400ce9960febcb0fd537b@linux-foundation.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 11, 2022 at 01:38:08PM -0700, Andrew Morton wrote: > On Sat, 09 Jul 2022 00:13:23 -0700 syzbot wrote: > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: c1084b6c5620 Merge tag 'soc-fixes-5.19-2' of git://git.ker.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=14967ccc080000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=916233b7694a38ff > > dashboard link: https://syzkaller.appspot.com/bug?extid=a785d07959bc94837d51 > > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=122ae834080000 > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+a785d07959bc94837d51@syzkaller.appspotmail.com > > > > 2022/07/05 05:22:17 executed programs: 828 > > 2022/07/05 05:22:23 executed programs: 846 > > 2022/07/05 05:22:30 executed programs: 866 > > 2022/07/05 05:22:37 executed programs: 875 > > BUG: memory leak > > Thanks. Presumably due to khugepaged changes. Huh, I was expecting it to be something I'd messed up. I've been looking at it today, but no luck figuring it out so far. > Can we expect a bisection search? We only have a syz reproducer so far, and if I understand correctly, it's probably because this is a flaky test (because it's trying to find something that's a race condition). I expect a bisection search to go badly wrong if this is true.