From da94ea0d48c4d869f83494de8a2c029eed39009e Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Thu, 9 Apr 2020 14:56:09 -0700 Subject: [PATCH] Canonical CNA: add info for CVE-2020-8834 Signed-off-by: Steve Beattie --- 2020/8xxx/CVE-2020-8834.json | 115 ++++++++++++++++++++++++++++++++--- 1 file changed, 108 insertions(+), 7 deletions(-) diff --git a/2020/8xxx/CVE-2020-8834.json b/2020/8xxx/CVE-2020-8834.json index 0459ad11d15..e6c6eec7436 100644 --- a/2020/8xxx/CVE-2020-8834.json +++ b/2020/8xxx/CVE-2020-8834.json @@ -1,18 +1,119 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security@ubuntu.com", + "DATE_PUBLIC": "2020-04-06T16:00:00.000Z", "ID": "CVE-2020-8834", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Linux kernel KVM Power8 conflicting use of HSTATE_HOST_R1" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "Linux kernel", + "version": { + "version_data": [ + { + "platform": "PPC Power8", + "version_affected": ">=", + "version_value": "4.8" + }, + { + "platform": "PPC Power8", + "version_affected": "<", + "version_value": "4.18" + } + ] + } + } + ] + }, + "vendor_name": "Linux kernel" + } + ] + } + }, + "credit": [ + { + "lang": "eng", + "value": "Gustavo Romero" + }, + { + "lang": "eng", + "value": "Paul Mackerras" + } + ], + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "KVM in the Linux kernel on Power8 processors has a conflicting use of HSTATE_HOST_R1 to store r1 state in kvmppc_hv_entry plus in kvmppc_{save,restore}_tm, leading to a stack corruption. Because of this, an attacker with the ability run code in kernel space of a guest VM can cause the host kernel to panic.\n\nThere were two commits that, according to the reporter, introduced the vulnerability: \n \n f024ee098476 (\"KVM: PPC: Book3S HV: Pull out TM state save/restore into separate procedures\") \n 87a11bb6a7f7 (\"KVM: PPC: Book3S HV: Work around XER[SO] bug in fake suspend mode\") \n \nThe former landed in 4.8, the latter in 4.17. This was fixed without realizing the impact in 4.18 with the following three commits, though it's believed the first is the only strictly necessary commit: \n \n 6f597c6b63b6 (\"KVM: PPC: Book3S PR: Add guest MSR parameter for kvmppc_save_tm()/kvmppc_restore_tm()\")\n 7b0e827c6970 (\"KVM: PPC: Book3S HV: Factor fake-suspend handling out of kvmppc_save/restore_tm\")\n 009c872a8bc4 (\"KVM: PPC: Book3S PR: Move kvmppc_save_tm/kvmppc_restore_tm to separate file\") \n\n" } ] + }, + "generator": { + "engine": "Vulnogram 0.0.9" + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "LOCAL", + "availabilityImpact": "HIGH", + "baseScore": 6.5, + "baseSeverity": "MEDIUM", + "confidentialityImpact": "NONE", + "integrityImpact": "NONE", + "privilegesRequired": "LOW", + "scope": "CHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-368" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "refsource": "CONFIRM", + "url": "https://www.openwall.com/lists/oss-security/2020/04/06/2" + }, + { + "refsource": "UBUNTU", + "url": "https://usn.ubuntu.com/usn/usn-4318-1" + }, + { + "refsource": "CONFIRM", + "url": "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867717" + } + ] + }, + "solution": [ + { + "lang": "eng", + "value": "Apply the following three Linux kernel commits, though possibly only the first commit is strictly necessary: \n \n 6f597c6b63b6 (\"KVM: PPC: Book3S PR: Add guest MSR parameter for kvmppc_save_tm()/kvmppc_restore_tm()\")\n 7b0e827c6970 (\"KVM: PPC: Book3S HV: Factor fake-suspend handling out of kvmppc_save/restore_tm\")\n 009c872a8bc4 (\"KVM: PPC: Book3S PR: Move kvmppc_save_tm/kvmppc_restore_tm to separate file\") " + } + ], + "source": { + "defect": [ + "https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867717" + ], + "discovery": "EXTERNAL" } -} \ No newline at end of file +}