Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2140164yba; Sun, 5 May 2019 23:49:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqy28MVTmCDxbIl5+5CspXzNL1Pe/sSxpFe4i8b8kWC5dNRXbp12Z/Gq506QFsQeeITdijLn X-Received: by 2002:a63:cc0a:: with SMTP id x10mr30510762pgf.179.1557125357087; Sun, 05 May 2019 23:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557125357; cv=none; d=google.com; s=arc-20160816; b=hmRD0GiwwVX3abPiTkJ/qD7s+IfeULibPbpttzf4xtf8flHjFm6TYRGqd/VUOyLiCs oYS5z5R9OYQmNBTvWNZi9OjbwCCuEb4fbo7WF75WeISUqb+U/FgdV6AEIac9si6ZF+sO +yFkRKLXaqlUO5yjNb18rCoUbzV8qh1BBOb4/fNQTPTL0xE30uDFzVdZ+yKfUj7iMeIN C/IRvHBg8Pg5khRzQ5RaCNB76HD7aEiQyYERzV/DzqFnP5fWrmNOwSQhoaqsLd+14ctA uhFrRx/BNGABuhJtUfQciOlFjZy2cYqQdbNUdy6sh+KDPyA3jdQNsn5zRgW23ZJE2sJH fFOw== 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=2GaKFCb91FMY5MaxC1V5+pDRnTOzJLgsEh6XKAoUvTg=; b=CH3T9vK/9sZz1L551BMIiRcp5WIxwC/wchq2riAR/GAtBCLU7DmynogT+WUoxtPjq1 IZaIlb3KIuNj4tsDDFtbYtDiofW/+5Bo91nQOX1m72pmitcoBwco7bp2F9dNRU2I7fxQ xuEvkn0GAJ91cULWgZEcF83A8CPuo/dEUedhNGirrY5LCBSftqymJStRfmOhEbn6GuC/ uKMChUGNTWp9rfKB5V1GZ+92iq5+HgxKVhbpminNNu4XgNaAbM4oNJmiBeAqpIti5DxE vKEkT8GMqeHxQA9mJnFYvVpkuoAwmyMJMhsJMq+v1Xr/olqZCuvQ/OHM2YHe8LXCvfwg ArsQ== 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 t1si13200721plr.373.2019.05.05.23.49.02; Sun, 05 May 2019 23:49:17 -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 S1726218AbfEFGsC (ORCPT + 99 others); Mon, 6 May 2019 02:48:02 -0400 Received: from mga01.intel.com ([192.55.52.88]:64911 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfEFGsA (ORCPT ); Mon, 6 May 2019 02:48:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2019 23:47:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,437,1549958400"; d="scan'208";a="141672937" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga006.jf.intel.com with ESMTP; 05 May 2019 23:47:55 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.21]) by IRSMSX103.ger.corp.intel.com ([169.254.3.30]) with mapi id 14.03.0415.000; Mon, 6 May 2019 07:47:55 +0100 From: "Reshetova, Elena" To: Linus Torvalds , David Laight CC: Ingo Molnar , Andy Lutomirski , Theodore Ts'o , Eric Biggers , "ebiggers@google.com" , "herbert@gondor.apana.org.au" , Peter Zijlstra , "keescook@chromium.org" , Daniel Borkmann , "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" , "Edgecombe, Rick P" , Peter Zijlstra 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+PCAAQuGgIAAYQuAgAAKhwCACsPi4IADJTwAgAAcagCAAExngIAEBbGAgACIbACAAbyQ8IAA626AgAGZfXCAAARpgIAAWpuAgAAF74CAABf/AIAAAvkAgAGZnrD///dzgIAAKeMAgAPw2NA= Date: Mon, 6 May 2019 06:47:54 +0000 Message-ID: <2236FBA76BA1254E88B949DDB74E612BA4C71202@IRSMSX102.ger.corp.intel.com> References: <57357E35-3D9B-4CA7-BAB9-0BE89E0094D2@amacapital.net> <2236FBA76BA1254E88B949DDB74E612BA4C66A8A@IRSMSX102.ger.corp.intel.com> <6860856C-6A92-4569-9CD8-FF6C5C441F30@amacapital.net> <2236FBA76BA1254E88B949DDB74E612BA4C6A4D7@IRSMSX102.ger.corp.intel.com> <303fc4ee5ac04e4fac104df1188952e8@AcuMS.aculab.com> <2236FBA76BA1254E88B949DDB74E612BA4C6C2C3@IRSMSX102.ger.corp.intel.com> <2e55aeb3b39440c0bebf47f0f9522dd8@AcuMS.aculab.com> <20190502150853.GA16779@gmail.com> <20190502164524.GB115950@gmail.com> <2236FBA76BA1254E88B949DDB74E612BA4C6F523@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQzMmVlOGQtZWYyYy00NzllLTlmNGItMDNhMTRmYjc3N2QxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMGczT0xObzFmdENESlNtXC9cL0EzZ3lBUnBYK01BcE1keEZIYUphcDlueU8zUDI2NHJLbmVZYzF2ZGpUdEx4ejJ3In0= x-originating-ip: [163.33.239.182] 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 Pj4gT24gRnJpLCBNYXkgMywgMjAxOSBhdCA5OjQwIEFNIERhdmlkIExhaWdodCA8RGF2aWQuTGFp Z2h0QGFjdWxhYi5jb20+IHdyb3RlOg0KPiA+DQo+ID4gVGhhdCBnaXZlcyB5b3UgMTAgc3lzdGVt IGNhbGxzIHBlciByZHJhbmQgaW5zdHJ1Y3Rpb24NCj4gPiBhbmQgbW9zdGx5IHRha2VzIHRoZSBs YXRlbmN5IG91dCBvZiBsaW5lLg0KPiANCj4gRG8gd2UgcmVhbGx5IHdhbnQgdG8gZG8gdGhpcz8g V2hhdCBpcyB0a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