Received: by 10.223.164.202 with SMTP id h10csp5172484wrb; Tue, 21 Nov 2017 05:55:05 -0800 (PST) X-Google-Smtp-Source: AGs4zMZAc2QcfZ93k8PFz4mbiC+yzPiF9H+4CBn4nFr0d19KWaR0fst6/nCQnzDC7VMh1/ThK/CR X-Received: by 10.101.66.11 with SMTP id c11mr16789563pgq.169.1511272505714; Tue, 21 Nov 2017 05:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511272505; cv=none; d=google.com; s=arc-20160816; b=1HWhR7L0LD7zdyeF4lyb8oDBpMLaCYZpFsOti5vfxpBXC0AykpRUBmPMlSICS5j87t fhUbLr49WjHtyEzXnhKTC4exSCIDGV4j31coFwAl19emGtFzE9ZBDizKeyh8s2+KMTY3 EJfELntNX1+/ppOz9PMYty2UYBGFvz6JEgSbyPDdZdda50/Nald14REZBVrprwQp2dpL 7Az4oCy4iQVG838TBgD+WIwk9jJessdt4TKwcLs/cb8ufkoNcm1J8dB2k0C/06SbgfXy NnHL7vjB2CT3KCIIuWs1X3Mtij5QuBy6Xq5/ytkqbd/eXXRsQkpa6oeNqoTwzGs0jXEc f82Q== 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:arc-authentication-results; bh=Dsjh3QK9ys+ksYGZcaUeX3lzPs/+Z4+mGLx7BerYM0M=; b=NH4Ic9jglDZuOkL43OFBB0zpZLzMuUI/DpyB1alsoVxVfYJrAra5mmkIGQr3OFBvJN dKmqr8ol0n5HJ6S8Bjg8xG85XBU1KkMC3PMOrklYPgRQa1VMwrXfrY7vX73teOQAm8Zy zidufsvUNhaPSY4cdCb+/CsSQv/aAtd/iUMTR9asBW0M6aOS7HKKFxD8bzARLOIjk3ch AtIbrzor0lgDsbBxgo/vs4tuT+cp48f4eS/qri8w1CjLkyGlJBYgmRmXiThIvd+A+s8b mXsKsRFTKT2XKsIc5WU6CUUOJmL2N+NDxy5cvaOhQrDO0C3MqUnNNFoFA84Cb0HoQJ6h M38g== ARC-Authentication-Results: i=1; mx.google.com; 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 c26si1564121pge.77.2017.11.21.05.54.54; Tue, 21 Nov 2017 05:55:05 -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; 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 S1751804AbdKUNxw (ORCPT + 76 others); Tue, 21 Nov 2017 08:53:52 -0500 Received: from bmailout1.hostsharing.net ([83.223.95.100]:42815 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbdKUNxu (ORCPT ); Tue, 21 Nov 2017 08:53:50 -0500 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 962CB300002C2; Tue, 21 Nov 2017 14:53:48 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 61D44C7191; Tue, 21 Nov 2017 14:53:48 +0100 (CET) Date: Tue, 21 Nov 2017 14:53:48 +0100 From: Lukas Wunner To: Kees Cook Cc: Matthew Garrett , Linus Torvalds , Paolo Bonzini , David Windsor , Linux Kernel Mailing List , Alexandre Belloni Subject: Re: [GIT PULL] usercopy whitelisting for v4.15-rc1 Message-ID: <20171121135348.GA18848@wunner.de> References: <20171117165423.GA34980@beast> <47222b54-cb13-2362-a525-714be2ba96de@redhat.com> <20171120195027.GA20045@srcf.ucam.org> <20171120232937.GA6700@srcf.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 20, 2017 at 04:42:46PM -0800, Kees Cook wrote: > I'm always trying to balance the requests from both ends of the > security defense spectrum. One of the most common requests I get from > people who are strongly interested in the defenses is "can this please > be enabled by default?" And then I have to explain that it sometimes > takes time for code to shake out, and it sometimes takes time for > developers to trust it, etc. This is rarely a comfort to them, but > they tend to be glad they can turn some config knob to enable the > "strongest" version, etc, because for them, a false positive is no big > deal. At the other end is the requirement that new stuff should not > break the system. Both are reasonable perspectives, but if we violate > the latter, the defense will never end up in the kernel in the first > place. I think Linus' objections must be seen in a broader context, the last months we've seen a large influx of semi-automatically generated hardening patches (constification mostly); The volume of these was at times overwhelming, in some cases they were dropped on the mailing lists in a fire-and-forget fashion and there are multiple documented cases where these patches broke things and the community was left to repair the fallout. When LWN published the 4.14 patch statistics (which some contributors seem to mistake for a high score), Alexandre Belloni (+cc) rightfully raised a complaint and included links to some of the broken patches: https://lwn.net/Articles/736578/#CommAnchor737081 There is a growing sense that hardening patches (which are generally desirable of course) are forced into the kernel without due diligence. Objections against tone notwithstanding, making that concern known in a form with greater visibility than an LWN comment was appropriate by Linus. It is most unfortunate that these concerns happened to be adressed to you personally and stalled your patches (the quality of which I cannot judge), even though they must (in my opinion) be interpreted in the context of this larger issue. It is likewise most unfortunate that this allowed bloggers, journalists and HN know-it-alls with zero commits in the kernel and zero participation on the mailing lists to focus on tone and whatnot, but completely ignore what this is really about. Thanks, Lukas From 1584683832027794797@xxx Tue Nov 21 13:51:10 +0000 2017 X-GM-THRID: 1584347411647594379 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread