Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2079903lqa; Tue, 30 Apr 2024 07:42:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUH9Am1s4mg1ywsmzYO2jV8YgYZuKjVP5r0FM+4rybNtXwhCt8Hhicg7g17wBMjO1fyCL9mC4zKWXuQmistUzFqFCZuMs6Ffevjkszyhg== X-Google-Smtp-Source: AGHT+IGkDk+SFagdEY5O3pAqnn0Sfr0aRcirv4PUKnPcFOcTO619Ec27Fc93hO+ZlGKI6MmpE65h X-Received: by 2002:a05:6a00:14d0:b0:6ea:e2fd:6100 with SMTP id w16-20020a056a0014d000b006eae2fd6100mr12661617pfu.30.1714488134627; Tue, 30 Apr 2024 07:42:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714488134; cv=pass; d=google.com; s=arc-20160816; b=FyjX54XUCZT3h761lIdpbBJGoHVhXGg6QlwI4qi0UpO/VAcuApL+BA3WobxygQRTX/ HfHgluw+01iEl4lfBWICx/ETZPcnLSO0Sk8x+Or6dtW8mcBpGCGbSk46bNK5qCwQ1+Ef XHM1Rz63Fymwap6GEKX8VcMv3uZzqYrfUCKVhtrfSrZaRCzhIdGqeBeg8/ZvNjulzEFZ RIRAMYYQLVome2fjQRrWH7C3zE/FsOcxQ/KvBp8s4efajxywvp6Ceege39G5hIymOoYH c4yfEk2kPeLbxw6XkK/POAtb+eHgC6gfs/UsvdyLdVhT3iJ71V30hLBMmEMc1BtxHxZ4 i9nA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bHkTSQnGuEaomY/gWdm3ngyCLQOoVPGkYgrv4PBOIGs=; fh=M4eHaguOTye1WORh3+u0KVFOPHOUKwHxXszFH8aJGcA=; b=0MQimkDrUnsMW8DqjCabODKI4Oh6sHDZoBCuc06ZcMngimZdjaTdGPYl/gCo6KcXhZ plbf5z5Qne8dUG73sEticB3MT9dUo7HmydrpNy5VN3iOcQjTQhpLRQEzdT6JJkrlApYt I5LdJgUVCO4Qv6N01IHY38OauVLLO/lwYkaytwzxNhx3EPml3u7DmJU0gRdBOHFHg4f2 0n6CkipvUtyFug0SiMJAOm5TJNQfolzPWqpcfWPywwa/EfSWwcZL1P402ENJ/2uiutIp LUilc6BnVoI/pEudJqZYz08VLx+YHbnhm5SKO05EzdnH0Fs8vxQzg7YPiD1RVlJbMQSj x+2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DzD4eUtc; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-163676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163676-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k139-20020a628491000000b006ea7e52efe8si19220402pfd.384.2024.04.30.07.42.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DzD4eUtc; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-163676-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163676-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C1990B21DA7 for ; Tue, 30 Apr 2024 09:26:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6875128813; Tue, 30 Apr 2024 09:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="DzD4eUtc" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D47D0127B68; Tue, 30 Apr 2024 09:21:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714468906; cv=none; b=WYdKxHnbmVWtA5HphW/pGQwXF36az++V/rmjkhnOqUsUeh2aUr21uX1FagXMnD7tF/7T0mqzGK3Pf0WxaughC9e4/Pk9neVpomW8/4BIMi4L8t84Z2TUFTVv2BpJudE6j4YbwBdmaCxu4AUlXAc/h4oodXAI7Afk6mjGqtsQROc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714468906; c=relaxed/simple; bh=TdZNueaaPKLCguGskYeGbsKIkL8BHJVTSoWgSzU9fJI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l3st94ESGZE1jAdpawcvEaoY3ufMgw5RhIgBBhwx/7wNx9HLup4aFKE0d4DqiYA2zqhjE1dXHaaJui0wRGOyn+EjShAlgXTHhrKMTxM91UyoSIQK9m9gV1ReKszfP8o2HRHS+oUASevOtknGD62mz0LeHx6urtuFzLwnk6E9mKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=DzD4eUtc; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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; bh=bHkTSQnGuEaomY/gWdm3ngyCLQOoVPGkYgrv4PBOIGs=; b=DzD4eUtcf8dJCc0qMaoSFOZzI2 9fKRjdp2FjnOVJYF70fF+0yOb5bx6/Aee66eQcrH8aJo3ykyg4XA7lIDg4Cr100P48sv3zckiG7/o 4LajJN1NX9hTsvzyyJPQLkg4kCLMGjxRk3f1ks4mpm2tRlECRkGnWjXAjN/BstK30FJejr0G1phAC 2osHNcyYnNEgHogICgVFOqb1qXicXSgvDpswTImy9O/GV9oCkeBWfb7MMR5BFk4oSkMBOFF/J0M7W ZKSDmvLCwJxVfbmrJ00mzF6YJxfbxv7fXXc983QOIxCtO/jZAIH0bV3eeXo82JEj7sJ7fqEc8cDqN sUojJiBw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1jgC-0000000EUWI-2fQc; Tue, 30 Apr 2024 09:21:40 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 4F726300684; Tue, 30 Apr 2024 11:21:40 +0200 (CEST) Date: Tue, 30 Apr 2024 11:21:40 +0200 From: Peter Zijlstra To: Kees Cook Cc: "Gustavo A. R. Silva" , Catalin Marinas , Will Deacon , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hardening: Refresh KCFI options, add some more Message-ID: <20240430092140.GE40213@noisy.programming.kicks-ass.net> References: <20240426222940.work.884-kees@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240426222940.work.884-kees@kernel.org> On Fri, Apr 26, 2024 at 03:29:44PM -0700, Kees Cook wrote: > - CONFIG_CFI_CLANG=y for x86 and arm64. (And disable FINEIBT since > it isn't as secure as straight KCFI.) Oi ?