---
title: "CVE-2020-8834"
canonical_url: "https://pkgseek.com/security/CVE-2020-8834"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2020-8834

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…

CVE-2020-8834 is rated MEDIUM (6.5), with 2 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 2
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | linux-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
| Ubuntu | jammy | linux-riscv-headers-5.15.0-1007 | 5.15.0-1007.7 | — |
