CVE-2018-18021

High

arch/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.

Package Linux Kernel
Published 2018-10-07
Last modified 2024-11-21
CVSS version 3.0
Patch available
Awaiting data

CVSS 3.0 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High
Vector string
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Weakness type

CWE-20

CVE-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.

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 →