Home / Linux kernel / Linux kernel / CVE-2020-8834
CVE-2020-8834: is it exploited, and which versions of Linux kernel are affected and fixed?
CVE-2020-8834 is a context Switching Race Condition vulnerability in Linux kernel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Linux kernel from 4.8 before unspecified and Linux kernel before 4.18 (CVE record by canonical). Fixed in unspecified and 4.18 (CVE record by canonical). Severity: Medium (6.5, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 28, 2026, 20:30 UTC and NVD November 19, 2026, 08:11 UTC.
What is CVE-2020-8834?
Linux kernel KVM Power8 conflicting use of HSTATE_HOST_R1
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")
From the CVE record by canonical, last updated September 16, 2024, 22:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux kernel | Linux kernel PPC Power8 | from 4.8 before unspecified before 4.18 | unspecified, 4.18 |
As the CVE record by canonical states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | all versions | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| opensuse | leap | 15.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:27 UTC.
How severe is CVE-2020-8834?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H | canonical |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H | NVD |
| Medium 4.9 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-8834 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-368 Context Switching Race Condition
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
How do I fix it? (from the CVE record)
Apply the following three Linux kernel commits, though possibly only the first commit is strictly necessary: 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")
Where are the vendor advisories and references?
- https://www.openwall.com/lists/oss-security/2020/04/06/2 x_refsource_MISC
- https://usn.ubuntu.com/usn/usn-4318-1 x_refsource_MISC
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867717 x_refsource_MISC
- USN-4318-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2020:0543 vendor-advisory, x_refsource_SUSE
Who found and reported it?
- Gustavo Romero (finder)
- Paul Mackerras (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 10, 2020
- Published
- April 9, 2020, 22:10 UTC
- CVE record updated
- September 16, 2024, 22:03 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 03:27 UTC
- Last checked
- CVE list November 28, 2026, 20:30 UTC; NVD November 19, 2026, 08:11 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux kernel?
- Jul 7, 2021CVE-2021-22555 Linux Kernel: out-of-bounds write (memory corruption) exploited
- Jun 20, 2023CVE-2023-3220 Linux kernel: NULL pointer dereference (crash)
- Mar 29, 2023CVE-2023-1652 Linux Kernel: use after free
- Mar 27, 2023CVE-2023-1079 Linux kernel: use after free
- Mar 27, 2023CVE-2023-1078 Linux kernel: out-of-bounds write (memory corruption)
- Mar 27, 2023CVE-2023-1077 Linux kernel: type confusion
- Mar 27, 2023CVE-2023-1076 Linux kernel: incomplete Filtering of Special Elements
- Mar 27, 2023CVE-2023-0210 Linux Kernel: heap buffer overflow
Questions about CVE-2020-8834
Is CVE-2020-8834 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux kernel are affected by CVE-2020-8834?
Linux kernel from 4.8 before unspecified and Linux kernel before 4.18, per the CVE record by canonical. The tables above give every range the sources list.
Which version fixes CVE-2020-8834?
unspecified and 4.18, per the CVE record by canonical. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-8834?
Medium (6.5, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2020-8834?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.