6.5

CVE-2020-8834: Linux kernel KVM Power8 conflicting use of HSTATE_HOST_R1

Modified
AliasesUBUNTU-CVE-2020-8834DEBIAN-CVE-2020-8834CGA-22c8-9g5c-pcgx
Published 09-04-2020Last modified 16-09-2024

Vulnerability summary

CVE-2020-8834 is a medium (CVSS 6.5) Context Switching Race Condition vulnerability in canonical ubuntu_linux. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 28.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.35%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 13 · Related 13

Timeline

  1. 09-04-2020
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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")

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.35%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.35% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.launchpad.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard83 products
  • hyperv-daemons-6.18All versions (No fix recorded)
  • hyperv-daemons-genericAll versions (No fix recorded)
  • linux-aws-6.12All versions (No fix recorded) | < 6.12.65-r0
  • linux-aws-6.12-boot-installedAll versions (No fix recorded)
  • linux-aws-6.12-fips-boot-installedAll versions (No fix recorded)
Ubuntu13 products
  • linux< 4.15.0-96.97
  • linux-aws-fips< 4.15.0-2018.18 | All versions (No fix recorded)
  • linux-azure-fdeAll versions (No fix recorded)
  • linux-azure-fips< 4.15.0-2006.7 | All versions (No fix recorded)
  • linux-fipsAll versions (No fix recorded) | < 4.15.0-1029.34
Canonical1 product
Debian1 product
  • linux< 4.18.6-1
Linux1 product
Linux kernel1 product
  • linux kernel≥ 4.8, < unspecified | ≥ unspecified, < 4.18
Opensuse1 product

7 vendors · 101 products

References

9 links