From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 322AAC4363D for ; Thu, 24 Sep 2020 13:56:02 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF59220B1F for ; Thu, 24 Sep 2020 13:56:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="NmmS6Meb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF59220B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kLRio-0000e8-Vh; Thu, 24 Sep 2020 13:55:42 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kLRin-0000e3-97 for xen-devel@lists.xenproject.org; Thu, 24 Sep 2020 13:55:41 +0000 X-Inumbo-ID: 3e6dc9d7-68e1-4e77-9cf6-76c2e514519d Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 3e6dc9d7-68e1-4e77-9cf6-76c2e514519d; Thu, 24 Sep 2020 13:55:40 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600955740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zsz1vcBQ+J5Lsy+LStILTmbU5O9nErEj4ZG9qO/gNhA=; b=NmmS6MebGqsT5fAYizM+b7XHwwX7shkrxaYQCfdp4dvVIbj/IQtZnHoLv1opJj2750PPss C/hm/wkzFqDByTNe1Wyd7nNMf3os9uokHzJiIhggdbObEX90kLzktMDTzXbqLffLGKac4f 7dX58ouklc0sofSv2BSUJseL3e7y+TE= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DB95DAE44; Thu, 24 Sep 2020 13:55:39 +0000 (UTC) Subject: Re: [PATCH 1/3] x86/pv: Don't deliver #GP for a SYSENTER with NT set To: Andrew Cooper Cc: Xen-devel , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Wei Liu , Andy Lutomirski References: <20200923101848.29049-1-andrew.cooper3@citrix.com> <20200923101848.29049-2-andrew.cooper3@citrix.com> From: Jan Beulich Message-ID: <129e6e48-9e20-0367-a5ab-c068fe2a28b3@suse.com> Date: Thu, 24 Sep 2020 15:55:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200923101848.29049-2-andrew.cooper3@citrix.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 23.09.2020 12:18, Andrew Cooper wrote: > It is a matter of guest kernel policy what to do with offending userspace, and > terminating said userspace may not be the action chosen. > > Linux explicitly tolerates this case. > > Reported-by: Andy Lutomirski > Fixes: fdac951560 ("x86: clear EFLAGS.NT in SYSENTER entry path") > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich