Improper input validation in Linux Kernel
CVE-2018-18021
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 48.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- Canonical Ubuntu Linux — versions 14.04, 16.04
- Debian Linux — versions 9.0
Weakness classification (CWE)
References
- USN-3821-1 (vendor-advisory, Third Party Advisory)
- github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279 (Patch)
- www.openwall.com/lists/oss-security/2018/10/02/2 (Patch, Mailing List, Third Party Advisory)
- cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12 (Patch)
- RHSA-2018:3656 (vendor-advisory, Third Party Advisory)
- github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d (Patch)
- www.securityfocus.com/bid/105550 (Third Party Advisory, VDB Entry, vdb-entry)
- USN-3821-2 (vendor-advisory, Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch)