VDB

CVE-2018-18021

CVE-2018-18021 PUBLISHED

Reported by mitre · Published October 7, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-snapdragonUbuntu:16.04:LTS4.4.0-1104.109
linux-raspi2Ubuntu:18.04:LTS4.15.0-1033.35

Affected products

VendorProductVersions
n/an/an/a
amazon:2kernel-devel0
amazon:2kernel-tools0
amazon:2perf0
amazon:2kernel0
amazon:2python-perf0
amazon:2kernel-headers0
n/an/a*
amazon:2kernel-tools-devel0

Timeline

  • Oct 7, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 23, 2026 CVE Updated
  • Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (7 in total, the first dated here)
  • Sep 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-18021
vulnetix vdb fixes CVE-2018-18021

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-18021/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • USN-3821-1 vendor-advisoryx_refsource_UBUNTU
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • RHSA-2018:3656 vendor-advisoryx_refsource_REDHAT
  • x_refsource_MISC
  • 105550 vdb-entryx_refsource_BID
  • USN-3821-2 vendor-advisoryx_refsource_UBUNTU
  • x_refsource_MISC
  • x_refsource_MISC
  • DSA-4313 vendor-advisoryx_refsource_DEBIAN
  • USN-3931-1 vendor-advisoryx_refsource_UBUNTU
  • USN-3931-2 vendor-advisoryx_refsource_UBUNTU
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›