CWE
362 368 121
Advisory Published
CVE Published
CVE Published
Updated

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

First published: Wed Apr 01 2020(Updated: )

A flaw was found in the way the KVM hypervisor on the Power8 processor stores the r1 register state in the 'HSTATE_HOST_R1' field on the Linux kernel stack. This flaw occurs while handling hypercalls in Transactional Memory (TM) suspend mode in the kvmppc_save_tm and kvmppc_restore_tm routines, leading to host stack corruption. R1 register holds a stack frame address and its corruption leads the kernel into panic state. A guest user can use this flaw to crash the host kernel, resulting in a denial of service.

Credit: security@ubuntu.com security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
redhat/kernel-alt<0:4.14.0-115.26.1.el7a
0:4.14.0-115.26.1.el7a
Linux Linux kernel
Ibm Power8
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
openSUSE Leap=15.1
redhat/Linux<4.18
4.18
All of
Linux Linux kernel
Ibm Power8
debian/linux
5.10.223-1
5.10.226-1
6.1.115-1
6.1.119-1
6.11.10-1
6.12.5-1

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-8834?

    CVE-2020-8834 is a vulnerability in the Linux kernel on Power8 processors that allows an attacker with code execution in a guest VM to cause stack corruption in the host kernel.

  • What is the severity of CVE-2020-8834?

    CVE-2020-8834 has a severity rating of high.

  • Which software is affected by CVE-2020-8834?

    CVE-2020-8834 affects Linux kernel versions 4.15.0-96.97 and 4.18~.

  • How can I fix CVE-2020-8834?

    To fix CVE-2020-8834, update your Linux kernel to version 4.15.0-96.97 or 4.18~.

  • Where can I find more information about CVE-2020-8834?

    You can find more information about CVE-2020-8834 on the Ubuntu Security Notice (USN) page and the Openwall mailing list.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203