CVE-2018-18021Linux Kernel
High 7.1
- Priority
- 43
- CVSS 3.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 7, 2018
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | < 4.18.12 |
| debian | debian_linux | 9.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- cdn.kernel.org Patch
- github.com Patch
- github.com Patch
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com
- usn.ubuntu.com
- www.debian.org Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory