Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1840198yba; Thu, 25 Apr 2019 06:36:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0XuGmWBX4NBiTiZDuwkoY6JAH85C1W1f5oWRMB4N48HBj/2U/Pvfqgl+4wRmqHFBBjxr7 X-Received: by 2002:a63:d408:: with SMTP id a8mr5134472pgh.184.1556199384589; Thu, 25 Apr 2019 06:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556199384; cv=none; d=google.com; s=arc-20160816; b=SIWDGL7Row8Kaw5O7fFgf8q0420d+LOvaEoebioJ7YuE7eoJS97v2SxpZ7BWJOzvgY /+HD5OyhN4NOP+ydST9csHBvEO94kn/pJioAxUuF39M7Wqs3xZ3SKHIaHs0yGU+24R4P TY62yfwlpxF9w0ZBWonPDI90UQRi0GO8L5ZCcE2OFCo6z/4CN4Yyh5/rafziQP9b8csC FRAy/IS7HRdp+Ys70rxEk/QPGV51Ixn4VXJivtHs76qlDv/cipwKqB7JfWGxRM4ZhHnC RfaIHe6JvlHQG0FhwUcfMooOqBoTPyIEu2MVgR9fu4RYBaKEr7TesuIRtAMCXAGNTsF3 SFIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=vGNy/Ol/chSPe7jeK2yP8pjsgtIrsIjHwUVnRfdqq7E=; b=ymZStOifFxzwPDnua3T2bH5Lj+M3iZWNsOkT3QTWdTIuNVTtksMUfmEC3u0PhpmTTi OZG5pLoSEtVIMLEaZLuAcUxhSovm2RlQ7hXTkK80zK3GuDVNARZgdiHcwAP/0lF0VMKa 0Zoc9rlKQb0v7VYvhTEKadvOVs/7rpxxp3QWuOIwmMlPMoJkJKXrh0vHx1Dl8oz7xwf0 ziappCYCTWY4N6evp/Jva+oN5h82VIPqP53iveSlRl1EjHku922/FyeSFbnh3bhlzQWL nxRoJpic5d1wX/NOFcuvwdd2o6PvyZdelhpxiBL52uq+yXZUYsJEneFFt33yI/XvBmad 9HuA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b98si20082809plb.375.2019.04.25.06.36.09; Thu, 25 Apr 2019 06:36:24 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387605AbfDYLYG (ORCPT + 99 others); Thu, 25 Apr 2019 07:24:06 -0400 Received: from mga04.intel.com ([192.55.52.120]:2250 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730941AbfDYLYC (ORCPT ); Thu, 25 Apr 2019 07:24:02 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 04:24:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,393,1549958400"; d="scan'208";a="340697912" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga006.fm.intel.com with ESMTP; 25 Apr 2019 04:23:59 -0700 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX104.ger.corp.intel.com (163.33.3.159) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 25 Apr 2019 12:23:58 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.21]) by irsmsx111.ger.corp.intel.com ([169.254.2.85]) with mapi id 14.03.0415.000; Thu, 25 Apr 2019 12:23:58 +0100 From: "Reshetova, Elena" To: David Laight , 'Theodore Ts'o' , Ingo Molnar , 'Peter Zijlstra' , "keescook@chromium.org" CC: Daniel Borkmann , "luto@kernel.org" , "luto@amacapital.net" , "linux-kernel@vger.kernel.org" , "jpoimboe@redhat.com" , "jannh@google.com" , "Perla, Enrico" , "mingo@redhat.com" , "bp@alien8.de" , "tglx@linutronix.de" , "gregkh@linuxfoundation.org" Subject: RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall Thread-Topic: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall Thread-Index: AQHU81HQwzT9MH4dM0y/JZXnSwiYT6Y8wW2AgAAdM1CAAXexAIAANZ3ggAAW1gCAAApRgIAAMeKAgAAd+PCAAQuGgIAAYQuAgAAKhwCACsPi4IAAFTEAgAF9VBA= Date: Thu, 25 Apr 2019 11:23:57 +0000 Message-ID: <2236FBA76BA1254E88B949DDB74E612BA4C61E91@IRSMSX102.ger.corp.intel.com> References: <20190415060918.3766-1-elena.reshetova@intel.com> <20190415072535.GA51449@gmail.com> <2236FBA76BA1254E88B949DDB74E612BA4C4F90F@IRSMSX102.ger.corp.intel.com> <20190416073444.GC127769@gmail.com> <2236FBA76BA1254E88B949DDB74E612BA4C51962@IRSMSX102.ger.corp.intel.com> <20190416120822.GV11158@hirez.programming.kicks-ass.net> <01914abbfc1a4053897d8d87a63e3411@AcuMS.aculab.com> <20190416154348.GB3004@mit.edu> <2236FBA76BA1254E88B949DDB74E612BA4C52338@IRSMSX102.ger.corp.intel.com> <9cf586757eb44f2c8f167abf078da921@AcuMS.aculab.com> <20190417151555.GG4686@mit.edu> <99e045427125403ba2b90c2707d74e02@AcuMS.aculab.com> <2236FBA76BA1254E88B949DDB74E612BA4C5E473@IRSMSX102.ger.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2UwMjc5ZDQtMjI4Zi00YjlmLWJiMDctM2MyNzExODY4MDVjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOHBjVVlpOGZcL1RCMHgrQ2lxc2xUMm56VGJtMXBWTStWRFRNeWFyQVh4czVHaXJJTGQ1YmFaZnhxSGNQaThoUXUifQ== x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBSZXNoZXRvdmEsIEVsZW5hDQo+ID4gU2VudDogMjQgQXByaWwgMjAxOSAxMjo0Mw0K PiA+DQo+ID4gU29ycnkgZm9yIHRoZSBkZWxheSAtIEVhc3RlciBob2xpZGF5cyArIEkgd2FzIHRy eWluZyB0byBhcnJhbmdlIG15IGJyYWluIGFyb3VuZA0KPiBwcm9wb3NlZCBvcHRpb25zLg0KPiA+ IEhlcmUgd2hhdCBJIHRoaW5rIG91ciBvcHRpb25zIGFyZSB3aXRoIHJlZ2FyZH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