CVE-2018-18021
Higharch/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.
CVSS 3.0 score
7.1
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness type
CWE-20CVE-2018-18021 is a Improper Input Validation vulnerability
What is Improper Input Validation?
The product receives input but does not validate it correctly, allowing attackers to craft inputs that cause unexpected behavior. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2018-18021 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Securityfocushttp://www.securityfocus.com/bid/105550Third Party Advisory VDB Entry
-
Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3821-1/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3821-2/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3931-1/
-
Ubuntu Securityhttps://usn.ubuntu.com/3931-2/
-
Debian Securityhttps://www.debian.org/security/2018/dsa-4313Third Party Advisory
-
PatchKernel patch commithttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279
-
PatchKernel patch commithttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d
-
PatchKernel patch commithttps://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12
Frequently asked questions
-
What is CVE-2018-18021?
CVE-2018-18021 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Improper Input Validation flaw (CWE-20) . CVE-2018-18021 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2018-18021?
CVE-2018-18021 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.0). The vector string is
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H. -
Is there a patch available for CVE-2018-18021?
No patch is currently available for CVE-2018-18021. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2018-18021 actively exploited?
No — CVE-2018-18021 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Input Validation (CWE-20)?
The product receives input but does not validate it correctly, allowing attackers to craft inputs that cause unexpected behavior. View CWE-20 on MITRE CWE →