CVE-2020-8834 Details
Description
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. There were two commits that, according to the reporter, introduced the vulnerability: f024ee098476 ("KVM: PPC: Book3S HV: Pull out TM state save/restore into separate procedures") 87a11bb6a7f7 ("KVM: PPC: Book3S HV: Work around XER[SO] bug in fake suspend mode") The 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: 6f597c6b63b6 ("KVM: PPC: Book3S PR: Add guest MSR parameter for kvmppc_save_tm()/kvmppc_restore_tm()") 7b0e827c6970 ("KVM: PPC: Book3S HV: Factor fake-suspend handling out of kvmppc_save/restore_tm") 009c872a8bc4 ("KVM: PPC: Book3S PR: Move kvmppc_save_tm/kvmppc_restore_tm to separate file")
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html | CVE | Mailing ListThird Party Advisory |
| https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867717 | CVE | ExploitThird Party Advisory |
| https://usn.ubuntu.com/4318-1/ | CVE | Third Party Advisory |
| https://usn.ubuntu.com/usn/usn-4318-1 | CVE | Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2020/04/06/2 | CVE | Mailing ListThird Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00035.html | [email protected] | Mailing ListThird Party Advisory |
| https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867717 | [email protected] | ExploitThird Party Advisory |
| https://usn.ubuntu.com/4318-1/ | [email protected] | Third Party Advisory |
| https://usn.ubuntu.com/usn/usn-4318-1 | [email protected] | Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2020/04/06/2 | [email protected] | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
| CWE-368 | Context Switching Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | All versions |
CPE
Remediation
| |
| ibm power8 | All versions |
CPE
Remediation
| |
| canonical ubuntu linux | 16.04 18.04 |
CPE
Remediation
| |
| opensuse leap | 15.1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 7, 2022 | Modified Analysis | [email protected] |
| Apr 23, 2020 | CVE Modified | [email protected] |
| Apr 17, 2020 | Reanalysis | [email protected] |
| Apr 15, 2020 | Initial Analysis | [email protected] |
| Apr 15, 2020 | CVE Modified | [email protected] |
| Apr 9, 2020 | CVE Modified | [email protected] |