Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3358636ioa; Tue, 26 Apr 2022 01:54:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEVznLbuo4ZWLdAdUHWcIY5U7wpNpIZ6EFHOmwTJ3O8r+XU7lVfD8YZyQVS4yKlnTpHPUI X-Received: by 2002:a17:906:7c93:b0:6cd:341a:a1d5 with SMTP id w19-20020a1709067c9300b006cd341aa1d5mr19804033ejo.698.1650963265800; Tue, 26 Apr 2022 01:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650963265; cv=none; d=google.com; s=arc-20160816; b=VRn5ilhnz2PXgSdDoAA1uDIcDTvIil+cc2lKkGNFkXrlLmik9Uz3AqJV0JNKjnfFuv P1T/wZi7UGEOjmhs4EF3/BJy8RlF99QQs9FW5mhNBx72VfacHBM8WzBbxkka5xFbgbF1 SdGoGOPdnOT/qfY2684+qPqvrXTkKMYP6zzTHclABDK3BRq4RVpUbrDy7GX367LJw9+C EAznKjkXKPBNI/xqwGFqoHUuX8N3CRmQ/heCwoaT3FI9P/Vfy2wYCUTvgjoRrxcOfJei eqG2HoG+lXMseaPU66fHkE3lJ5CauOmBFxozUx5OouQje+PNgdhWVKTvIyyVMdQDfu4B UE+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=h5QXgxJ1aGDceWrYuG1jHB6di1JRZTFGfTsmuiIJuLI=; b=nQjBN9/8gE2pwOx+Igd1kA8jHiclJ5dioQo3Kx6ejcF8dXPVbbth7NNwRsjDBWhEew tvgOs4qZouCY9GYfDFoI+QX3lYGEoInRQ2etOw2szTD5XgM0HWrXdaXtOGTBdNSsvB1s KXLz32OrhmhPCVr21D+zE7F+yaYtu4mFXrO2/kvfPIh0b0sO0lekcy+CGJmPSEtttNQU oeil5Q72lPRZyCVRUJgyqVHcMMz3jjdoZg/6UFuuHm5iZIhV8NaZwa5qaetRojUqzd2F wa+JiRH3qHzHGKKekiHeq7pTVPHiQUK3z62/rHPrxtxKU3fSgWHyez07+o328DzVfUuP iB5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=cTUxTt2w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx24-20020a0564020b5800b00423de77bfdfsi8071690edb.185.2022.04.26.01.54.02; Tue, 26 Apr 2022 01:54:25 -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=bombadil.20210309 header.b=cTUxTt2w; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233425AbiDZAAk (ORCPT + 99 others); Mon, 25 Apr 2022 20:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231433AbiDZAAi (ORCPT ); Mon, 25 Apr 2022 20:00:38 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2D63107700 for ; Mon, 25 Apr 2022 16:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=h5QXgxJ1aGDceWrYuG1jHB6di1JRZTFGfTsmuiIJuLI=; b=cTUxTt2w7Cd4Omul8GluhjKvMy IgxMLdp7R2egxMUOh8rwLY3KI0/ZvCAcQTwDCurSvPfX5otLeixPESApdXmQfs8+yozu3zD+UMeHD OJ1x09XCsoq4haPh6oh36mi25XLt7auXzvmyxLC4Mtj+eAaJyBGt7m5MDAmA3hjx38fo5ucw2c6HS hbewRNEZ9NrmSeu02balT5srjsLE1T49h9JCL9YSKWGkQzZkOEbRm2dgJlx+YvzesnTHYuepBOSuS rHe/KqZZRCRx+ie8Zn3Nwa6cZlO46wqX3/vs+8oBhBjksfxXhlTI4Q28TeOPkEc5U/gq5KcTvCx/s In5OO/CQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nj8a6-00BmLt-D2; Mon, 25 Apr 2022 23:57:26 +0000 Date: Mon, 25 Apr 2022 16:57:26 -0700 From: Luis Chamberlain To: Andrew Morton Cc: kernel test robot , Julius Hemanth Pitti , Johannes Weiner , Kees Cook , Iurii Zaikin , Ingo Molnar , Al Viro , LKML , lkp@lists.01.org, lkp@intel.com, Eli Cohen Subject: Re: [proc/sysctl] 1dd38979b2: BUG:kernel_NULL_pointer_dereference,address Message-ID: References: <20220425083302.GD21864@xsang-OptiPlex-9020> <20220425144607.2c2588e6b1f00ab8a6f3f6ea@linux-foundation.org> <20220425163434.5f8f47e8c301ea30c2f94a5a@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220425163434.5f8f47e8c301ea30c2f94a5a@linux-foundation.org> Sender: Luis Chamberlain X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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, Apr 25, 2022 at 04:34:34PM -0700, Andrew Morton wrote: > On Mon, 25 Apr 2022 16:08:57 -0700 Luis Chamberlain wrote: > > > On Mon, Apr 25, 2022 at 02:46:07PM -0700, Andrew Morton wrote: > > > On Mon, 25 Apr 2022 12:00:21 -0700 Luis Chamberlain wrote: > > > > > > > Andrew, can we drop this patch for now? > > > > > > I've been sitting on (ie, forgotten about) this patch > > > (https://lore.kernel.org/all/20200709235115.56954-1-jpitti@cisco.com/T/#u) > > > > Jesh, yeah I see. > > > > > for two years. Evidently waiting for you/Kees/Ingo to provide > > > guidance. So sure, the need seems very unurgent so I can drop it. > > > > Well Keew as OK with it, but I yeah I can't decipher the issue at this > > point in time. > > > > > However I fail to see how that patch could have caused this crash. I'm > > > suspecting a bisection error? > > > > > > Maybe something is unwell in drivers/vdpa/vdpa_user/vduse_dev.c. > > > > At a quick glance, yes it could very well by vduse_init() is messy and > > races somehow with init, but if a race does lurk here my instincts tell > > me this can't be the only place. > > > > Not sure if leaving a patch in place more time to see how else things > > can explode is worth it. > > Confused. Are you thinking that the above-linked patch was somehow > involved in this crash? If so, but how? All it does it to permit > unprivileged reads to four ints via proc_dointvec_minmax()? If the priv allows for it access to dereferencing a pointer is allowed. How that race happens though, indeed is beyond the patch's fault. Luis