Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp179557yba; Mon, 1 Apr 2019 04:23:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqyo/HzNGrbEW3Sov6kiQUjm9i0uvN0+87XNAIJKL2m/OIvAoMu3CgtrlvuV5tuHBahqQ8R2 X-Received: by 2002:a63:1410:: with SMTP id u16mr58645872pgl.420.1554117796463; Mon, 01 Apr 2019 04:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554117796; cv=none; d=google.com; s=arc-20160816; b=HIbmia/s5F7NCx/Bqp8O/h0RRBUNmmmhi9U8TmuXlIXY0Jxw3a56N4/wjzD8HhcbEx Qp18NKjTqJBx/ZvXII3k4FU5YOA/GV2hIetE2KEr3hUZaXZlyB6DzgVhjeWpUnlib/IV CYP60BnvvHUMt14CUrPO4rOkC25haqUhp9Is6YoEy0kvJdLtmOJBSC9QNtiNbifR8vPu pDS3m52jfjiOC/yyPGj/HU22rGcItcJu3J5FulfIuw4RbKFLPSBU74m3GmvNR+JsT59r d2qu+zi/61FBt1E43Ie3r29QWCGNoewuZ6kyehxVE0ITL4KQhRPXCdFoTKtelfGX069Q fWiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1FMt2d9KtzasNyUyCYU3/NrOTo32EFxupWlp/nhTY1w=; b=yzglrB2HtYS5BVU+1J+inO4ifsTbu5V31gJo0Hm4nPdmQ2QWz+pJ8FYhXl67tIkOUi Qb79cYMbrRgXnrxWcZY9hqkn3K+tSV3hfgvb/VjOMzbcK6n1wLNTtlONAlFvb5BB/0Yh +8vMRQLFjy7f9EdBG7vmRPc04iRVekQlMWac3WSsfXnbOYOvRBDJGjAWmLXtyq4ld8ES EiztF+mu9MhVlVFz9FBHiIATibkZQtlOy1/8gXqmPGCPp2C4FTK7EA8RQkrwebAMPIpu 5deBu+jDAkKLMjdvyFdGscq7xtGwZIKx5VPOQabzH5g3eazG2A+aPBF1VHf0brXaEETj es2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uu0LMPEj; 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 v21si8540260plo.34.2019.04.01.04.23.00; Mon, 01 Apr 2019 04:23:16 -0700 (PDT) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=uu0LMPEj; 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 S1726789AbfDALWU (ORCPT + 99 others); Mon, 1 Apr 2019 07:22:20 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49680 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfDALWT (ORCPT ); Mon, 1 Apr 2019 07:22:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1FMt2d9KtzasNyUyCYU3/NrOTo32EFxupWlp/nhTY1w=; b=uu0LMPEj+cQr8/a6Aaseujkwk e8Gejtt4cUqtcK1NbxhRtBrmCIzmvmBmLPBsOTedgDGNBaPu135oHcnqAwixMUqX3Sazcl5vKdXj+ cMFmW16EY9XzItNk6wF/u5T6vjhFvZr+69VTq47SijTx8GBF67IO1v3BBHaSjesHhSnoxeeg7COjL ydFulYFMQU6b4l1DQsbXpqHSS86i+Ragh8heGfgLgWabMcBWypzigS17Jh/Cf+6Z6NplIHvzHV0HT rC9adR4cJx3btYLsllgdvQYVYRHKk9g5Ds4X5Xa1VsM5EOzByduKYXvNDmkGXw4Mix23w+x+x3yXH kglzKqUEA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hAv19-0002Xi-Ew; Mon, 01 Apr 2019 11:22:19 +0000 Date: Mon, 1 Apr 2019 04:22:19 -0700 From: Matthew Wilcox To: Johannes Thumshirn Cc: Linux Kernel Mailinglist , Linux FSDEVEL Mailinglist Subject: Re: [PATCH] fs/open: Fix most outstanding security bugs Message-ID: <20190401112219.GA22763@bombadil.infradead.org> References: <20190401090113.22946-1-jthumshirn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190401090113.22946-1-jthumshirn@suse.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 01, 2019 at 11:01:13AM +0200, Johannes Thumshirn wrote: > Over the last 20 years, the Linux kernel has accumulated hundreds if not > thousands of security vulnerabilities. > > One common pattern in most of these security related reports is processes > called "syzkaller", "trinity" or "syz-executor" opening files and then > abuse kernel interfaces causing kernel crashes or even worse threats using > memory overwrites or by exploiting race conditions. > > Hunting down these bugs has become time consuming and very expensive, so > I've decided to put an end to it. > > If one of the above mentioned processes tries opening a file, return -EPERM > indicating this process does not have the permission to open files on Linux > anymore. > > Signed-off-by: Johannes Thumshirn I think you should have credited Cisco for the idea. https://twitter.com/RedTeamPT/status/1110843396657238016