Received: by 10.213.65.68 with SMTP id h4csp2134695imn; Sun, 8 Apr 2018 20:34:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48yrrLdGB1HYX1KtePJjzPoPMl1tWhul8dFh+ZQCr1sqvsoFpGx6H1+pl/szOQyLCm5uIMH X-Received: by 2002:a17:902:8a87:: with SMTP id p7-v6mr36037542plo.53.1523244892566; Sun, 08 Apr 2018 20:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523244892; cv=none; d=google.com; s=arc-20160816; b=t2daX+OpnrSE5tIfi3SUqyTgrohM4kl704Jz+NTMxVR4FbVtNiFjDuXzdQPeGCJmMS I9kkSRfrsrXZcqRKoD+ZuQtJbpIlYS1zkSv4gje0DDqkuaU2wzGpcNTPu21wviHlf8x6 mxEKxgrFNXtalXMHTVpzKg9GSDyjvm4D7GCM3h9YPJPxNHiFelIsVFZCgDufwJnuABa2 Dhum5wbN+0Wku34MtgJz8EZabtHlDoaaNh39/3TpqQUSEjfuxl4+m6tIKVny2kQ0epu7 +7EmOaemcoUZA5awSVmZQdqaYhyxQ6TNbzoToT1zWM/QACjRE4CkhtO097jTyJttnBZM 2wOQ== 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 :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Jc6j803jtHdLdEZ3tGd62vAsujMIKceynTxriJL/DVU=; b=TDe6KeidPW3AvfCyvp1E+TCl+oTGkWudB9RIqptdz0BVZ8GA56T0HTVJrz+NRNxH3s Ev/LR40lfKNw1Xpu7tm48Ckz06HyfUvFTqbNfk0/hW1JPIpRGg+vnnjqJ4DfaXdZ0wUJ 7ryRev0P5U1ZZWVrUJ01BTjtRJ56GZtontSEnRtgQi1S9W4OeVIWhyWGdGIiPzrUavyl NEoLEVoYBeoKwLPwrId1nrNytwKF32K7TtdxqM2wOyv1qHKH3NA6qwXk365L0NqkWYqG 8CRl0VPwnNy44orIWUX9OpU/LTrYeq+eLrJTuxL93ykoMlrrP3tbLHPYbAu4kGWerkWR jqIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=osAR+CXu; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97-v6si14384764plc.713.2018.04.08.20.34.15; Sun, 08 Apr 2018 20:34:52 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=osAR+CXu; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754337AbeDID3n (ORCPT + 99 others); Sun, 8 Apr 2018 23:29:43 -0400 Received: from mail-sn1nam02on0111.outbound.protection.outlook.com ([104.47.36.111]:52845 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754592AbeDIAWD (ORCPT ); Sun, 8 Apr 2018 20:22:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Jc6j803jtHdLdEZ3tGd62vAsujMIKceynTxriJL/DVU=; b=osAR+CXuAvckhkG+mQlH4wO9pFugBq1x02U7RTHH6bjPdDG+EGO5CkkvzsMlg1L95GtvqpqhwHVe/5rHV8ySnFlfUOWWZLUdau1fLoQ1fMfntqAdxw9+PyNQvO+Y7iGXxfzyXGfGKSU/T8gXwLHWxN+XxmhAo099KyHgwuiIiBM= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0936.namprd21.prod.outlook.com (52.132.131.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.3; Mon, 9 Apr 2018 00:21:57 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:21:57 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Paolo Bonzini , "kernel-hardening@lists.openwall.com" , Kees Cook , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 007/161] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl Thread-Topic: [PATCH AUTOSEL for 4.14 007/161] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl Thread-Index: AQHTz5h3OEccfGEqck+DbQntLmIxJA== Date: Mon, 9 Apr 2018 00:19:46 +0000 Message-ID: <20180409001936.162706-7-alexander.levin@microsoft.com> References: <20180409001936.162706-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001936.162706-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0936;7:6g/tZIqlwbQhkoWVUkGfBW5PfkrCFg6XrE3pChj2HPiVQLyMDECFDXFo2VgQas7MmVy5uIU/hN8OLocXkV9/MaNknlIKjWE2PqXazvXilUE3z7d7DOktWsOUTBgKvHWupm/SQDrOQvjEJcHrvM81sujUJzJ255QQh1Jc431xbdCEXt62B8K2hL7Bntx3ZjWjkjcI5z3j418dvkMuviB8O5Prxj2Mcgom47m0KH+uPhnqJAWk6em03ZL/3HPW0v7E;20:f7Dt9jEM2Ic1QWBJ63/hIYj49KPh9tkf8KEL7DuxKXBzQvO9nXf5oOzYG4hGcG0QHuDcqQzic/ac0xptcz5tnB+4Azi7w8TMORTls/lBIXuxK8MnMZncT6kMncWhSdOZLtY3AqkhNIrt8vo9TWen3CJ1YpipRg1ajkp+uHTieB4= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 3e702149-fb89-4029-e9b8-08d59dafe7df x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0936; x-ms-traffictypediagnostic: DM5PR2101MB0936: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0936;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0936; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39380400002)(39860400002)(396003)(376002)(366004)(199004)(189003)(3660700001)(36756003)(2501003)(76176011)(10290500003)(2616005)(5250100002)(3280700002)(478600001)(1076002)(72206003)(6436002)(53936002)(486006)(476003)(4326008)(6486002)(107886003)(5660300001)(54906003)(110136005)(102836004)(2906002)(6116002)(3846002)(86612001)(81156014)(81166006)(6666003)(8936002)(305945005)(8676002)(2900100001)(6506007)(68736007)(14454004)(106356001)(105586002)(25786009)(6512007)(86362001)(99286004)(446003)(59450400001)(10090500001)(11346002)(316002)(26005)(7736002)(66066001)(186003)(22452003)(97736004)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0936;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: teXxyBudHD0HPpKF6AQJcHz4cd0h55RWl2CBi6NeTMtwOcIQDHwBTGUjxr5Os7SYwx9vhqc8cX8GDODKpKeUJ0mA+aiauG5/8gavhdlX1AWU8iwmmQ8/TZXzZXpSyzF106rQlAMR6jfb+MLYUJzTnhwvripJ8fm/rxsmNdBkwY1PgNJCKjEixPRuuqklF/ZmQME8Tg2EG9rdEgpHzYcQy5fDli2JrZtV6Y+LmPFa3R4OoHq0puyPALySgWVszTKYuzAx4vpXIpJ+MwgYCMRImnDIolToFFjCWKUdqOCSPXDkaVHquXsgrhtCfOGi54A50x/bNgAxlpceWWD/yGtn1YHG+MqJBDE2FEQfygiqY2vHtFqOelc+TfF+mb4JvDFq68N5GOoXo6gPWvkBbM0GOPwm+CfQ0+XHBZyzd9Fe6iA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <16FAA9AC9E2A324FA5E4BC2FC9E59BCC@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e702149-fb89-4029-e9b8-08d59dafe7df X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:19:46.6921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0936 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogUGFvbG8gQm9uemluaSA8cGJvbnppbmlAcmVkaGF0LmNvbT4NCg0KWyBVcHN0cmVhbSBj b21taXQgNTE3NzYwNDNhZmE0MTU0MzVjN2U0NjM2MjA0ZmJlNGY3ZWRjNDUwMSBdDQoNClRoaXMg aW9jdGwgaXMgb2Jzb2xldGUgKGl0IHdhcyB1c2VkIGJ5IFhlbm5lciBhcyBmYXIgYXMgSSBrbm93 KSBidXQNCnN0aWxsIGxldCdzIG5vdCBicmVhayBpdCBncmF0dWl0b3VzbHkuLi4gIEl0cyBoYW5k bGVyIGlzIGNvcHlpbmcNCmRpcmVjdGx5IGludG8gc3RydWN0IGt2bS4gIEdvIHRocm91Z2ggYSBi b3VuY2UgYnVmZmVyIGluc3RlYWQsIHdpdGgNCnRoZSBhZGRlZCBiZW5lZml0IHRoYXQgd2UgY2Fu IGFjdHVhbGx5IGRvIHNvbWV0aGluZyB1c2VmdWwgd2l0aCB0aGUNCmZsYWdzIGFyZ3VtZW50LS0t dGhlIHByZXZpb3VzIGNvZGUgd2FzIGV4aXRpbmcgd2l0aCAtRUlOVkFMIGJ1dCBzdGlsbA0KZG9p bmcgdGhlIGNvcHkuDQoNClRoaXMgdGVjaG5pY2FsbHkgaXMgYSB1c2Vyc3BhY2UgQUJJIGJyZWFr YWdlLCBidXQgc2luY2Ugbm8gb25lIHNob3VsZCBiZQ0KdXNpbmcgdGhlIGlvY3RsLCBpdCdzIGEg Z29vZCBvY2Nhc2lvbiB0byBzZWUgaWYgc29tZW9uZSBhY3R1YWxseQ0KY29tcGxhaW5zLg0KDQpD Yzoga2VybmVs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