CVEvulnerability

CVE-2018-18021

7.1 HIGH Published 2018-10-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-10-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.1 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.0 ([email protected])
3.6 LOW — AV:L/AC:L/Au:N/C:N/I:P/A:P
Weaknesses
CWE-20

Description

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.

Affected configurations

• linux linux kernel (< 4.18.12) • debian debian linux 9.0 • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References