Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4668726pxy; Tue, 27 Apr 2021 09:57:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7AYmuDWRGSjyc1nKScKt3kjxWlZZuWgR/2ib9nJy0PUny1F+EAulncfgxmWAVm6z7HpAi X-Received: by 2002:a17:90a:6c88:: with SMTP id y8mr29380750pjj.38.1619542669097; Tue, 27 Apr 2021 09:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619542669; cv=none; d=google.com; s=arc-20160816; b=SwYmg8kek6wrDTdey4MOrzN4oGrI2U9U9wMQYtf7i1tReraZ2EZx7hVmR7P2TcXdDM ifJDumm3za2MX22c4ej29ND3eMbI9NrI5SHtrJA7vK/F8WqxlhHDJSt9pAZsjx33SQ2O GFxlGFAokfNwP9ZOXOqbBdSHe6ZsEMwzndT9uGhPwB/JmAWVHYOGzsd/j3A55Rsuy6bM 383vjMaKmUUX//mI/TOwAy+HK3fGSaJrTLOkHXJv73r2zR/znlhshed2KaUfS6pOFTei Tvrxblretz6aqkTDnv2Ukafv/3TVGS1tD3W1cka8+nCqpndvmjaDxcstS78NBz1hfgRZ Fmsg== 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=mYLh/v0TNtla3Gcr4cckE68wUVWLHwndazt2dDAjzJw=; b=xf0yoKrGhWYZ7jKC+JhoaOHEp7cjMdFkGx4KGDldxrjMo6rrrU8HiPhXJbCyL79XG4 J1UH5RzKOugZJ1idhUVG0WmqyXrOK8qxNxBJO7NV6DatMR2h4NuqQvfI5HyOlre5R5zJ FiFxlrtU0QRt84wRttckkXR1D1Ude5gjZZiknOiJ7zfB6TDkuwIfzqQ980sUt2muSBG5 JBu0ZpyyEL2pAAfXOiq95wwhWJlXs4djhHZgR4SeLmcO5uOkD3Y4B7DvJOPSkpHyZ0XE tpn36xP+fUd3LsT0Jb9wjCECABYQdBBJL1PntbM6iEIlJjUkmk1/kKfdhTKLG6zVeHBQ 1Djw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="g/zmGWOy"; 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 r15si4119093pjo.90.2021.04.27.09.57.35; Tue, 27 Apr 2021 09:57:49 -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="g/zmGWOy"; 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 S236603AbhD0Q5K (ORCPT + 99 others); Tue, 27 Apr 2021 12:57:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:42984 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236571AbhD0Q5B (ORCPT ); Tue, 27 Apr 2021 12:57:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 65740613D9; Tue, 27 Apr 2021 16:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619542576; bh=ummjkB5d/d3zm8RJTKB6WoF/gLMhcQXrNHhoCoKvZC8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g/zmGWOyY+apYCu2GaVa8EXZkmC1iQsG4dHn5VKw1nz931k0o/Tyjwbhw5JBN1GIh icGSfzcFMIWkPHVImJfoG+0YOdFI8m2GBP3tDXht6zj50eDoc+T+mvC6MU97GhCmmj VyyxSRzfPlTJS37/1YUcJ8Mm21JRsWqEQ2cNlHNA= Date: Tue, 27 Apr 2021 18:56:14 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Wenwen Wang , Adam Radford , "Martin K . Petersen" Subject: Re: [PATCH 188/190] Revert "scsi: 3w-xxxx: fix a missing-check bug" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-189-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-189-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 03:01:03PM +0200, Greg Kroah-Hartman wrote: > This reverts commit 9899e4d3523faaef17c67141aa80ff2088f17871. > > 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: Wenwen Wang > Cc: Adam Radford > Cc: Martin K. Petersen > Signed-off-by: Greg Kroah-Hartman > --- > drivers/scsi/3w-xxxx.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c > index d90b9fca4aea..8f52f35e40f1 100644 > --- a/drivers/scsi/3w-xxxx.c > +++ b/drivers/scsi/3w-xxxx.c > @@ -1035,9 +1035,6 @@ static int tw_chrdev_open(struct inode *inode, struct file *file) > > dprintk(KERN_WARNING "3w-xxxx: tw_ioctl_open()\n"); > > - if (!capable(CAP_SYS_ADMIN)) > - return -EACCES; > - > minor_number = iminor(inode); > if (minor_number >= tw_device_extension_count) > return -ENODEV; > -- > 2.31.1 > The original commit was correct, dropping this revert. greg k-h