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=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 42251C47084 for ; Mon, 24 May 2021 12:50:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A5B4613C8 for ; Mon, 24 May 2021 12:50:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232533AbhEXMvt (ORCPT ); Mon, 24 May 2021 08:51:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:60276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbhEXMvp (ORCPT ); Mon, 24 May 2021 08:51:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 16DAB613AD; Mon, 24 May 2021 12:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621860617; bh=BK3GxEVGm3i/tXdMBD56HqOEOzlxjKGyVXbAR3B48x8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L6TKBvsZXNM95GX2FxmO9b9Nlv4fdMtQb09bYVrmsJih76aCAG1Z/cWYmEOFJhvHJ QKAtLot7CKWnJu+Yy46M7YgXrAQo+Xd+4d5bM5oZfQmSGbQVISB2I6TjoNsw5Dafnz 0JLAOxg0Y2fCvNY8lwK47+B8j3g1Ys/CM9ODTkks= Date: Mon, 24 May 2021 14:50:14 +0200 From: Greg KH To: Joerg Roedel Cc: linux-kernel@vger.kernel.org, stable-commits@vger.kernel.org Subject: Re: [PATCH stable-5.10,5.11,5.12] x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path Message-ID: References: <20210508032224.039CF613ED@mail.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 01:40:18PM +0200, Joerg Roedel wrote: > On Tue, May 18, 2021 at 01:39:02PM +0200, Joerg Roedel wrote: > > [ Upstream commit fef81c86262879d4b1176ef51a834c15b805ebb9 ] > > > > Check whether the hypervisor reported the correct C-bit when running > > as an SEV guest. Using a wrong C-bit position could be used to leak > > sensitive data from the guest to the hypervisor. > > > > Signed-off-by: Joerg Roedel > > Signed-off-by: Borislav Petkov > > Link: https://lkml.kernel.org/r/20210312123824.306-8-joro@8bytes.org > > --- > > arch/x86/boot/compressed/head_64.S | 85 ++++++++++++++++++++++++++++++ > > 1 file changed, 85 insertions(+) > > This is compile-tested now for 5.10, 5.11 and 5.12. With 5.12 I also did > a boot-test using the 32-bit boot-path and verified it still works as > expected. Now queued up, thanks. greg k-h