Blame SOURCES/kvm-i386-define-the-AMD-virt-ssbd-CPUID-feature-bit-CVE-.patch

383d26
From e51d47fda8344f093a28c49de9daea38ba2527dd Mon Sep 17 00:00:00 2001
383d26
From: Eduardo Habkost <ehabkost@redhat.com>
383d26
Date: Wed, 13 Jun 2018 18:08:12 +0200
383d26
Subject: [PATCH 05/57] i386: define the AMD 'virt-ssbd' CPUID feature bit
383d26
 (CVE-2018-3639)
383d26
MIME-Version: 1.0
383d26
Content-Type: text/plain; charset=UTF-8
383d26
Content-Transfer-Encoding: 8bit
383d26
383d26
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
383d26
Message-id: <20180613180812.28169-3-ehabkost@redhat.com>
383d26
Patchwork-id: 80676
383d26
O-Subject: [RHEL-7.6 qemu-kvm-rhev PATCH 2/2] i386: define the AMD 'virt-ssbd' CPUID feature bit (CVE-2018-3639)
383d26
Bugzilla: 1574216
383d26
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
383d26
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
383d26
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
383d26
383d26
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
383d26
383d26
AMD Zen expose the Intel equivalant to Speculative Store Bypass Disable
383d26
via the 0x80000008_EBX[25] CPUID feature bit.
383d26
383d26
This needs to be exposed to guest OS to allow them to protect
383d26
against CVE-2018-3639.
383d26
383d26
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
383d26
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
383d26
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
383d26
Message-Id: <20180521215424.13520-3-berrange@redhat.com>
383d26
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
383d26
(cherry picked from commit 403503b162ffc33fb64cfefdf7b880acf41772cd)
383d26
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
383d26
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
383d26
---
383d26
 target/i386/cpu.c | 2 +-
383d26
 1 file changed, 1 insertion(+), 1 deletion(-)
383d26
383d26
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
383d26
index 0fc7fb0..5d60d76 100644
383d26
--- a/target/i386/cpu.c
383d26
+++ b/target/i386/cpu.c
383d26
@@ -541,7 +541,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
383d26
             "ibpb", NULL, NULL, NULL,
383d26
             NULL, NULL, NULL, NULL,
383d26
             NULL, NULL, NULL, NULL,
383d26
-            NULL, NULL, NULL, NULL,
383d26
+            NULL, "virt-ssbd", NULL, NULL,
383d26
             NULL, NULL, NULL, NULL,
383d26
         },
383d26
         .cpuid_eax = 0x80000008,
383d26
-- 
383d26
1.8.3.1
383d26