From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 47C4CAC0DEE for ; Tue, 23 Apr 2024 09:28:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nuaOrqh0LNgyBx4a6YO6kdO7waD+JtEP3HrCK7xI4+Y=; c=relaxed/simple; d=groups.io; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Disposition; s=20240206; t=1713864485; v=1; b=VEdIxiBfao0fxj7ybUOXTTJ4PLQUlZL75LzpkFl8TGHX6akEDfuP03kDDrtnTFW0t6jauRYM pqd7qyk/6cnzTRY4j5X23J6Ou6vTECVgdqaWwzIEG4xjK/w1/lRZlSJZbV9AYDsPIzNc6h2K3mP i6Rsfo3fsJUNtZIhWLqeQxlBg9HImOGMQUL0q2/oUow+Pe3Z3U8i2PoOsR1a37G3mhUYtgvZw9k C+hTC4GNlkbxyXWPHQZLOTv39TxOgmGB/vgwOFg3lt6haLLfB2EAFOqZFHJsXfbqxksY99lkvgm cWysGPXVHNnRHcayVkJpn3WcyKLsFQU9GP2YLwndAKcZA== X-Received: by 127.0.0.2 with SMTP id iIVCYY7687511xmQSzSZbBzl; Tue, 23 Apr 2024 02:28:05 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.14230.1713864484897554249 for ; Tue, 23 Apr 2024 02:28:05 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-451-qPImOdeeN4uBcMwNhhxucA-1; Tue, 23 Apr 2024 05:28:00 -0400 X-MC-Unique: qPImOdeeN4uBcMwNhhxucA-1 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E353980253A; Tue, 23 Apr 2024 09:27:59 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.150]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB219402482D; Tue, 23 Apr 2024 09:27:59 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 669291800DF0; Tue, 23 Apr 2024 11:27:58 +0200 (CEST) Date: Tue, 23 Apr 2024 11:27:58 +0200 From: "Gerd Hoffmann" To: Adam Dunlap Cc: devel@edk2.groups.io, Borislav Petkov , Peter Gonda , Ard Biesheuvel , Erdem Aktas , Jiewen Yao , Michael Roth , Min Xu , Tom Lendacky , Yuan Yu Subject: Re: [edk2-devel] [PATCH v2] OvmfPkg: Harden #VC instruction emulation somewhat (CVE-2024-25742) Message-ID: References: <20240419182146.699506-1-acdunlap@google.com> MIME-Version: 1.0 In-Reply-To: <20240419182146.699506-1-acdunlap@google.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 23 Apr 2024 02:28:05 -0700 Resent-From: kraxel@redhat.com Reply-To: devel@edk2.groups.io,kraxel@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 4xf2OediVh9AFyHse0qAXbvWx7686176AA= Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=VEdIxiBf; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On Fri, Apr 19, 2024 at 11:21:46AM -0700, Adam Dunlap wrote: > Ensure that when a #VC exception happens, the instruction at the > instruction pointer matches the instruction that is expected given the > error code. This is to mitigate the ahoi WeSee attack [1] that could > allow hypervisors to breach integrity and confidentiality of the > firmware by maliciously injecting interrupts. This change is a > translated version of a linux patch e3ef461af35a ("x86/sev: Harden #VC > instruction emulation somewhat") > > [1] https://ahoi-attacks.github.io/wesee/ > > Cc: Borislav Petkov (AMD) > Cc: Tom Lendacky > Signed-off-by: Adam Dunlap Reviewed-by: Gerd Hoffmann take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118132): https://edk2.groups.io/g/devel/message/118132 Mute This Topic: https://groups.io/mt/105623545/7686176 Mute #vc:https://edk2.groups.io/g/devel/mutehashtag/vc Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-