Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1528538ybk; Thu, 21 May 2020 08:59:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz97ds8mJ5SuKiB7xZkRlM+3UhgRyBv1svpQG5niK8Jd3wdoBxYmYUpwCQKo/0oUhSDyPgB X-Received: by 2002:a17:907:20ee:: with SMTP id rh14mr4277594ejb.158.1590076792979; Thu, 21 May 2020 08:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590076792; cv=none; d=google.com; s=arc-20160816; b=V2+oXvliCPoVrR9E5wa8X9u0amUwh1lPznkL+Ngb6wLFyi1F7JT+/norOrwodLV5Hz q4qdFEoWn/5RlPicyuLbDLiKnhtDY8ZCepfInRaKIHV8PmXWGG3mD8uzMaSG6DdecLCf e0ZqRlFJWF+qlzG74VCws6Ze7c3JtLukk/2ycC6NCevBlrIUv+VgBIvY3h2KlFdl6ocy JV6eVaRVacw9y4iWbEZHETLyaVG0uj8ONmp0GHoKtgX1VGVIyANrZm12AxZp0kyyF3hP YwekealN1XdTV9jU8NQfgHVGbIaFmEHXji63QQEudy78H3vN0UwqArRO/3p/XFaWWb96 ljXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=XGAf1xtjf92sUioU2LV6A+2FPs2ejsLJjS+2Cva6T8I=; b=XEWWOj248vy0x325wuEGAdxFaYgBe6mPwMVxhVYy1z02OVbPSjds9WLXgx76kK1Sbf G4e5/2tiUjj+ZOdwVOwW9p+xZq3cK3c+Aw77PZQHARmX4BPJqL7yLJOjDaked8Q6zaJK tgVffIWcfrSCko4h+JELnS8nF71fbgUEQnRhUlOBZXHFtFAUOkDA+BbEM14TPmOccyj6 q7NQSo65NIePhfCIEN9OTOdUwX42rLODsu2DyIKeEPp7Le8t+TOgwgRtN49vah9u8wO/ prbsKfEhxDfYyTF9NUHeoTwN5ywe6xi5knGo98Ge0ievp0kV68ah94UBXAlTo1CMkBoC D6Vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si3109754edq.592.2020.05.21.08.59.29; Thu, 21 May 2020 08:59:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728435AbgEUP5w (ORCPT + 99 others); Thu, 21 May 2020 11:57:52 -0400 Received: from mga05.intel.com ([192.55.52.43]:6270 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727968AbgEUP5w (ORCPT ); Thu, 21 May 2020 11:57:52 -0400 IronPort-SDR: 0eEVmwzumtnz92CFANKpl7Uw5kFjC06+hfkC6qs7OgBN4I1TYxm/ltuGrUXLFWwvCZ/31vgtF8 9s/1VzYrCfHQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 May 2020 08:57:51 -0700 IronPort-SDR: KU0u7F/zAaSUkGmX6X4pMq8vLPzvIdvXNk9DZoNS/uZkOqFyB2C3kJui/HVPQAVxZhcb2vff4Z WGPr1cyxmXpA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,418,1583222400"; d="scan'208";a="255344664" Received: from yyu32-desk.sc.intel.com ([143.183.136.146]) by fmsmga008.fm.intel.com with ESMTP; 21 May 2020 08:57:51 -0700 Message-ID: Subject: Re: [PATCH v10 00/26] Control-flow Enforcement: Shadow Stack From: Yu-cheng Yu To: Josh Poimboeuf Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang Date: Thu, 21 May 2020 08:57:57 -0700 In-Reply-To: <20200521151556.pojijpmuc2rdd7ko@treble> References: <20200429220732.31602-1-yu-cheng.yu@intel.com> <20200521151556.pojijpmuc2rdd7ko@treble> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-05-21 at 10:15 -0500, Josh Poimboeuf wrote: > On Wed, Apr 29, 2020 at 03:07:06PM -0700, Yu-cheng Yu wrote: > > Control-flow Enforcement (CET) is a new Intel processor feature that blocks > > return/jump-oriented programming attacks. Details can be found in "Intel > > 64 and IA-32 Architectures Software Developer's Manual" [1]. > > > > This series depends on the XSAVES supervisor state series that was split > > out and submitted earlier [2]. > > > > I have gone through previous comments, and hope all concerns have been > > resolved now. Please inform me if anything is overlooked. > > > > Changes in v10: > > Hi Yu-cheng, > > Do you have a git branch with the latest Shadow Stack and IBT branches > applied? I tried to apply IBT v9 on top of this, but I guess the SS > code has changed since then and it didn't apply cleanly. It is here: https://github.com/yyu168/linux_cet/commits/cet Yu-cheng