Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4542990pxy; Tue, 27 Apr 2021 07:26:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwi3WhWHNygKZbeeG7c9GM/4O4kU7eczojzt6ctsspBwO+0bPc1I+dCFMGLTQ+LqziReEvB X-Received: by 2002:a17:907:11db:: with SMTP id va27mr5409726ejb.174.1619533562882; Tue, 27 Apr 2021 07:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619533562; cv=none; d=google.com; s=arc-20160816; b=r9TT6yjQdU09ttkmzy7po3rdGfc4ocYDd/aswtW7qpTqx+WjnrEeZhV5SmRzjLPjLa wNGQ817GpoesJFC7m1hCaaE7Dke7VwE42DI5GlD7Y66I3MZWGzDtd/tKWIM93Y0FK0L+ Clh4wcRSu7kf8JFafuVN78EARh2UunNpXLchQQX1EMkox/WZwnwzsljr57fQF5exK0tj qK1afGC96bV5Q5sVyqwYKGLjpmq7NwzYbRVlJFg2Ia3kmmz3MKl5vAfdrZUHKg4ILZLm SOEvmWXufBYMUYWfuoErtasSfh3/7G7FsM06Q6oqcC8h+4ljqVDm6WbFC8AW+lKj+SVW Rexw== 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=aLv73w/AXJcoldmy/HTuplw42uWe9QA6BSaiKq84pno=; b=VoooQnnDZhB17AOU3BqoxLA5frlXzeOPbl3cup9IX9sYAUMPsukOsug5V1bY9c9m2e 7cmQqLR6LNRdJebwRS4KHzMQWOznNYPesQqntGVn04N+WZazAcoKWkOU9l7z0aZhC3W5 2FyY3fR1UzT5GsHnj2EWLb3I395rwGrOf8/fgdjmEt5v9p3d6bNmAhe3iO7HIH7WTGi0 8kXKuniU5ufplHyiIhw2pwUF7Yon3cKNHsWQ+V52a6DfvwB0AvLoGAOvfm6sArw2Zx0u xZwMpUcupkj8t8HmSaHKB/I8PY29HzfRyO3FMEv6uFitpCLMDqq1rzh/WpTizvstsbQp ThPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XE2ySLvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lg25si13504ejb.96.2021.04.27.07.25.39; Tue, 27 Apr 2021 07:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XE2ySLvK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236928AbhD0OYs (ORCPT + 99 others); Tue, 27 Apr 2021 10:24:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236173AbhD0OYr (ORCPT ); Tue, 27 Apr 2021 10:24:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8311D613DD; Tue, 27 Apr 2021 14:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619533444; bh=m6Lf8x6CvrTavho0MtOyI6pNKYhwTlMlVg8ySs6c9tQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XE2ySLvKkZrGwxXE1xg2112VBPypPP5uUf075wcAVo1/ElU9opLSQqWLafPYAUihf tiS1Jrkx4vF2uJlwqecMA3WE/J2UPnmmPfZ2frBuWkSiYXd452KIqTKEQfIlBRcQMO KMVNPcaHbSFiJxq9msP+EQzLn/0Qy/9pKqfi8nRI= Date: Tue, 27 Apr 2021 16:24:01 +0200 From: Greg Kroah-Hartman To: Bart Van Assche Cc: Jason Gunthorpe , linux-kernel@vger.kernel.org, Aditya Pakki Subject: Re: [PATCH 059/190] Revert "RDMA/srpt: Remove unnecessary assertion in srpt_queue_response" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-60-gregkh@linuxfoundation.org> <20210421140247.GG1370958@nvidia.com> <20210421140553.GA2268573@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 09:05:44AM -0700, Bart Van Assche wrote: > On 4/21/21 7:05 AM, Jason Gunthorpe wrote: > > On Wed, Apr 21, 2021 at 11:02:47AM -0300, Jason Gunthorpe wrote: > > > On Wed, Apr 21, 2021 at 02:58:54PM +0200, Greg Kroah-Hartman wrote: > > > > This reverts commit 9f48db0d4a08624bb9ba847ea40c8abad753b396. > > > > > > > > Commits from @umn.edu addresses have been found to be submitted in "bad > > > > faith" to try to test the kernel community's ability to review "known > > > > malicious" changes. The result of these submissions can be found in a > > > > paper published at the 42nd IEEE Symposium on Security and Privacy > > > > entitled, "Open Source Insecurity: Stealthily Introducing > > > > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > > > > of Minnesota) and Kangjie Lu (University of Minnesota). > > > > > > > > Because of this, all submissions from this group must be reverted from > > > > the kernel tree and will need to be re-reviewed again to determine if > > > > they actually are a valid fix. Until that work is complete, remove this > > > > change to ensure that no problems are being introduced into the > > > > codebase. > > > > > > > > Cc: https > > > > Cc: Aditya Pakki > > > > Cc: Bart Van Assche > > > > Cc: Jason Gunthorpe > > > > Cc: Jason Gunthorpe > > > > Signed-off-by: Greg Kroah-Hartman > > > > drivers/infiniband/ulp/srpt/ib_srpt.c | 2 ++ > > > > 1 file changed, 2 insertions(+) > > > > > > I think this one is fine > > > > Sorry, I realize that is unclear. I mean I don't see a reason to > > revert this patch. > > Greg, I share Jason's opinion and would like to see this revert dropped. The > function srpt_queue_response() dereferences the 'ch' pointer before the > BUG_ON(ch) statement is reached. I think this makes the BUG_ON() statement > that would be reintroduced by this revert superfluous. Thanks for the review, I will go drop this commit from my tree. greg k-h