CVE-2018-18021

Summary

CVECVE-2018-18021
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-10-07 06:29:00 UTC
Updated2019-04-03 01:29:00 UTC
Descriptionarch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable by attackers who can create virtual machines. An attacker can arbitrarily redirect the hypervisor flow of control (with full register control). An attacker can also cause a denial of service (hypervisor panic) via an illegal exception return. This occurs because of insufficient restrictions on userspace access to the core register file, and because PSTATE.M validation does not prevent unintended execution modes.

Risk And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel All All All All

References

ReferenceSourceLinkTags
cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12 MISC cdn.kernel.org Patch
Debian -- Security Information -- DSA-4313-1 linux DEBIAN www.debian.org Third Party Advisory
oss-security - arm64 Linux kernel: Privilege escalation by taking control of the KVM hypervisor MISC www.openwall.com Mailing List, Patch, Third Party Advisory
arm64: KVM: Sanitize PSTATE.M when being set from userspace · torvalds/linux@2a3f934 · GitHub MISC github.com Patch
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org Patch
USN-3821-1: Linux kernel vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
USN-3931-1: Linux kernel vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com
USN-3931-2: Linux kernel (HWE) vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com
arm64: KVM: Tighten guest core register access from userspace · torvalds/linux@d26c25a · GitHub MISC github.com Patch
USN-3821-2: Linux kernel (Xenial HWE) vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
Linux Kernel 'arch/arm64/kvm/guest.c' Local Privilege Escalation Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report