Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2870021iob; Mon, 16 May 2022 07:59:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzkJua3cKTTlRwa2UIoTgD5PFZutqlhVpHzYaH+4Lm1MGkHp2urGaMxrDEQHSsLnUKS6YM X-Received: by 2002:a17:906:5616:b0:6f3:8fe2:a8e8 with SMTP id f22-20020a170906561600b006f38fe2a8e8mr15669683ejq.465.1652713184814; Mon, 16 May 2022 07:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652713184; cv=none; d=google.com; s=arc-20160816; b=EAD/pPHRk1YXJC03hJgeW+jTawnUM26BXHmCYL0DrbOgdAaUTdtAFICR19aplIioUt 6yAhTT9NGUHGOAvfq52OQ4KVXKP8C6ENMSNJi9y2XRqsgSgdDklRVrHe2jAivTG9dFZA +BRRQCqzoqzCS4bPUfzWQgOy+rHaSDxbQowQ+Bba8E+y/4HpMMG8Ipngf4wLWco2+5/e GSlMRGTOnzqJm/4j5rxX3A43ElK9fGot+3kS1AxMEiOhyxOZFuy8ZJi/oN8JXCL5gi9+ tCbqBqGz77ABFeRMlJC4fyNe/CdhKuPp2Hk3yawur2XM+toi14vAZS9BASPIf2DMlrDe /RnQ== 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=YHRIbwbYw+C29KUQZWgduS5aUkdozvIZ+erhj6VO6FY=; b=Le2KIV+uR8noiNjJtyoSAWxhYEBgCvpIlNTOr8i8AIpZBMLlNG0aIceREAVd2LED0R 7kCqorv7HPcUwtnCZqirljjChU2zJey26NUOKAkF/0H/EPSm1IGJ9GMihFIjZ9Re2dKO BWYDU7MsznDSjrf7vxyIY0xRiyMOEeGOOnA/v57aki1LkzwJIJmDLmOU8/WyH0jltkJi 5tNKvsMggy8LkrAMqvwdLcBYR+S4QCILEwepU4p6eoOA+3L8kc5c4sOPGtkCo8jManWP 21D5L89x1Kn8gCnJ6CSG7hm9xjD7hXHM1K8zsZe9qv3e3HDAbmZpdYO93vRF0t52Ec2r 8Bdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GKZwyVRi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a056402274e00b0042a570e8153si11719618edd.327.2022.05.16.07.59.19; Mon, 16 May 2022 07:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GKZwyVRi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233459AbiENV6j (ORCPT + 99 others); Sat, 14 May 2022 17:58:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232072AbiENV6a (ORCPT ); Sat, 14 May 2022 17:58:30 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CCA40E48 for ; Sat, 14 May 2022 14:58:23 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id nk9-20020a17090b194900b001df2fcdc165so628792pjb.0 for ; Sat, 14 May 2022 14:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YHRIbwbYw+C29KUQZWgduS5aUkdozvIZ+erhj6VO6FY=; b=GKZwyVRiKzX72oR6iRkHNGBB4Yxe4zgbdG2bd1Amyx25B8PRAkSSWxH34c2Z8H4Nnm 1vTmWCO/WBQS1TIQlB3jNMp8kDrLZ6n4ahAh5U+uttxpOOjQf2Tn//WLGsxXWkypgUs4 tC2mjiqHKHosECDuo/Grwg0fKMiL1EvNVf1Io= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YHRIbwbYw+C29KUQZWgduS5aUkdozvIZ+erhj6VO6FY=; b=bZRf38NiLXXQo3SwVMUJCakTT8JEKeut4qgzu4ZwIQ3RM1KHNhmzYIenxHUiI6IEm0 C2aPaiAvrWLGqc1AqcdSHq8vByS9tfyQzIofBMQSRhZT5twqxbZBXof2kuwPMkoPNsxd B05AbwOuRS1FIzJMMnCCz3A+w+AJxD1HvS8+G0DZs+90AncvPviJvF7Qe8C/njO0NU4R SD34waqHMshWq+T/w/vv9NsfO4xO5D9TeGRvWtE0IUciJ3A35FLQofudNaDknMjxeFqb nWVGXDZ+nR8cZiVpfphrmjUAOTGI1eHKaL6SljWal0CE38iDdS2SoyXNxj8nNFFj31Sf CuhQ== X-Gm-Message-State: AOAM533aq7ERSg629hfP8Uk9qBgt2RkIQCeem2Xi83Jv5zopaIKMVDFE T42OAzexncAwS042mnN0bIu9GA== X-Received: by 2002:a17:90a:db51:b0:1dc:9d7e:1e11 with SMTP id u17-20020a17090adb5100b001dc9d7e1e11mr23330312pjx.129.1652565502681; Sat, 14 May 2022 14:58:22 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i1-20020a6561a1000000b003c14af5063fsm3889773pgv.87.2022.05.14.14.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 14:58:22 -0700 (PDT) Date: Sat, 14 May 2022 14:58:21 -0700 From: Kees Cook To: Sami Tolvanen Cc: linux-kernel@vger.kernel.org, Josh Poimboeuf , Peter Zijlstra , x86@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Nathan Chancellor , Nick Desaulniers , Joao Moreira , Sedat Dilek , Steven Rostedt , linux-hardening@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev Subject: Re: [RFC PATCH v2 18/21] x86/purgatory: Disable CFI Message-ID: <202205141458.1101A071@keescook> References: <20220513202159.1550547-1-samitolvanen@google.com> <20220513202159.1550547-19-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220513202159.1550547-19-samitolvanen@google.com> X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 13, 2022 at 01:21:56PM -0700, Sami Tolvanen wrote: > Disable CONFIG_CFI_CLANG for the stand-alone purgatory.ro. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook