Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3335744ioa; Tue, 26 Apr 2022 01:22:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/nMxTCkmpyVdJ4XZyeHWI4iaQ6NO/22scZAfja6WtuERvme0ijtZja6BGdW+IltTm4qwP X-Received: by 2002:a17:907:7e82:b0:6f3:ae0c:9127 with SMTP id qb2-20020a1709077e8200b006f3ae0c9127mr2555962ejc.575.1650961323880; Tue, 26 Apr 2022 01:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650961323; cv=none; d=google.com; s=arc-20160816; b=VIXXPKVUSJhz8pTtFjKe1KO1F2JkY6GBMp9XcSZKZgdf4QVw8+hYrhLDyCD2t8vzMv WnHo32N1g5JigYj1vuLxyG81wB3aUSAcaUl60k8ThPg83jNLROIWdqPxv3pb8EFgMYM+ WfVjqnfsm17Oc1XBcBAwQQmyNyAB8/7zHDqee4woK6yjj4KrgjDBCeWUUlpcC9oxziUO R2RkDNjyCK0hntxUsUP9PRgV+AUrf4fM3AE4ckZFJcWF4rSV+brfAn/x2VD5Ul2yjxOQ x816klwjD8qVnl2dtWBYZS5rq6k6595DU+MJD7UBY26/SIw605mt7xTbpE9IujncUS7j RKlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=06aG9HgjVBMKcSFR9pVIPlHyiCHDR2pEVS1V5xWQwLI=; b=UJV+ZQLiVopOg8PULASoZsYOaPiPEAepVN7XK+8QpohlBpr/vLN7OqvUVbOV2E+pUy 4zuckJwtDBD5QlcJMs5VJDe4lCm3IyOglFD+X6mJvmB05s4f9atGQPpVHpNG+JOAPLM6 cQUCdXlnVIU5b0bxLvt4I05r9cfDZCPbuWcCZ63d+N1eqVo9Qc9C1HUQLwiQOK5QZ26f BFmWPKk7B/u6428DjY37jLwB5AJpPZDEsh8RTyMMAB1oX2HwExqMSA6g0L7w3puqocN2 LtVJq4cBxeJLNU/Z5iiPFTVDYlpP6Ma6D64OYymLHugG7uik4nzYWiXM+W40P/b/3E3t mrMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=mDZAIzTb; 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 i9-20020a50fc09000000b00425bc76ecddsi8984071edr.337.2022.04.26.01.21.39; Tue, 26 Apr 2022 01:22:03 -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=@linux-foundation.org header.s=korg header.b=mDZAIzTb; 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 S233744AbiDYXhn (ORCPT + 99 others); Mon, 25 Apr 2022 19:37:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbiDYXhm (ORCPT ); Mon, 25 Apr 2022 19:37:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E6489CC2 for ; Mon, 25 Apr 2022 16:34:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4DB361570 for ; Mon, 25 Apr 2022 23:34:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5DB8C385A4; Mon, 25 Apr 2022 23:34:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1650929676; bh=Eb05Em8JyGymAnY18gau+jnazmwGgMGqqJHMO8BcqEA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mDZAIzTbhfrTVINNUPKfY3iFdNiym/TmrJK94cBioGkuUjv6wwjvUSb1gNy5Y8eQk xZ07TFcINLWAe8jbTzAjwgLE9MHOQKbczWol+deAepUCLMLdV1cBKtccb79shkG91/ ROexynsf2fwPoqxl108PqlQ7E6blmB/OuOPCwaiQ= Date: Mon, 25 Apr 2022 16:34:34 -0700 From: Andrew Morton To: Luis Chamberlain 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: <20220425163434.5f8f47e8c301ea30c2f94a5a@linux-foundation.org> In-Reply-To: References: <20220425083302.GD21864@xsang-OptiPlex-9020> <20220425144607.2c2588e6b1f00ab8a6f3f6ea@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, 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()?