Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp729870ybv; Thu, 13 Feb 2020 08:28:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwJYWxdHIIAWTP5cVhqUCEwHiDwTc3yG8S27/SqBh2bBNlPp5u7YrmOwQgPYhGiuVircKMy X-Received: by 2002:a05:6808:b15:: with SMTP id s21mr3232676oij.123.1581611293029; Thu, 13 Feb 2020 08:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581611293; cv=none; d=google.com; s=arc-20160816; b=cFhGaAJu5S85vqXzLHTil48JVqzxlqw3Z9x+tk/tji5yyWzB/8Q0upx9vwIBFQ6mQH q2jmIKLrojeZoplBw0M1dDSY3sIPd0vLOgEO76ozHXtsduDLADgGsS+kWQjL4ytX4YEc RfxPq7Ys/AT+893nBUnw7A5HE1mdlUjs14XpN5nhHN5j7cJw2hPioUUDveaMBXHHXlKD 1M8BttwWYdsX42WJ0YhkpeMquwu8FHXNaCkC0RTKadxMyLMHqM3r9nE/2van47pCanFf BpHUHaH3ryQlDba5essMBTELwNwlIpjwSe+dL9qucoYJ2D+m5EHDAVy8GtgZbonZAMJy wBjw== 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=JFkD5UuTXGqoaGckpxmIy0jKA2PlK4VcTc/RoxVbUk0=; b=o9uEZ31DyL7Ixn3XxCzcLeIXJbG9/k3MXs17S76JTs1INTlR3dpfwjlLNL5t+lJcbz WkVvwDW3/COa72Gi4/wH6egnGyFMvjfY54wpCJl4uS08YCIpAwcA2OEIFSBS199BS+66 x9N7pvC9YLAub1nhA83q2iisycbPds8xWWbyjt3O/rXbb84ltlDxe+MVqR2MwmKxTgBC q482vRdZw5Z4qtq0BWMx7MjIRSuFEBwaDWCULG2WmI9tqDBXZiDWzazgdNI83KFqcWc6 IooSxpSoGhUOFgSVVtoGXNR4gZ1kBSQJqrRvO8BW9KYPjWA5cufbepg1CddcdxiZWCpt /jzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZmX16Ia7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si1385460otp.279.2020.02.13.08.27.59; Thu, 13 Feb 2020 08:28:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZmX16Ia7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgBMQ1Y (ORCPT + 99 others); Thu, 13 Feb 2020 11:27:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:35046 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728021AbgBMQ1X (ORCPT ); Thu, 13 Feb 2020 11:27:23 -0500 Received: from localhost (unknown [104.132.1.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EEF15217F4; Thu, 13 Feb 2020 16:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581611242; bh=pLlFbwgpXzZyUY0PLcmwiWVBzwZX/BtaXYVlyDM6gsk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZmX16Ia7+5e3L+ZUm9mPSymTnV7oOXSuaN1yWcAtFXaEtcJWvw8sU/kzmHj1dlMP1 TLwjDC9pDFDJvQvrgAVp5/QE26IWna9gLEPhm28MhfGkXEZJz+wnKcyLieqm9LghKD 7F3UvPHPPJVDaLDx0A/5p9hCEDUV/ECTY6kEw/iA= Date: Thu, 13 Feb 2020 08:27:21 -0800 From: Greg Kroah-Hartman To: Stephen Smalley Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Will Deacon , Paul Moore Subject: Re: [PATCH 5.4 85/96] selinux: revert "stop passing MAY_NOT_BLOCK to the AVC upon follow_link" Message-ID: <20200213162721.GA3636914@kroah.com> References: <20200213151839.156309910@linuxfoundation.org> <20200213151911.147099125@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 13, 2020 at 11:01:41AM -0500, Stephen Smalley wrote: > On 2/13/20 10:21 AM, Greg Kroah-Hartman wrote: > > From: Stephen Smalley > > > > commit 1a37079c236d55fb31ebbf4b59945dab8ec8764c upstream. > > > > This reverts commit e46e01eebbbc ("selinux: stop passing MAY_NOT_BLOCK > > to the AVC upon follow_link"). The correct fix is to instead fall > > back to ref-walk if audit is required irrespective of the specific > > audit data type. This is done in the next commit. > > > > Fixes: e46e01eebbbc ("selinux: stop passing MAY_NOT_BLOCK to the AVC upon follow_link") > > Reported-by: Will Deacon > > Signed-off-by: Stephen Smalley > > Signed-off-by: Paul Moore > > Signed-off-by: Greg Kroah-Hartman > > This patch should be accompanied by commit > 0188d5c025ca8fe756ba3193bd7d150139af5a88 ("selinux: fall back to ref-walk if > audit is required"). The former is reverting an incorrect fix for > bda0be7ad994 ("security: make inode_follow_link RCU-walk aware"), the latter > is providing the correct fix for it. Thanks for letting me know, now queued up for both trees. greg k-h