CVE-2018-18021

high
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d

http://www.securityfocus.com/bid/105550

https://access.redhat.com/errata/RHSA-2018:3656

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12

https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279

https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d

https://usn.ubuntu.com/3821-1/

https://usn.ubuntu.com/3821-2/

https://usn.ubuntu.com/3931-1/

https://usn.ubuntu.com/3931-2/

https://www.debian.org/security/2018/dsa-4313

https://www.openwall.com/lists/oss-security/2018/10/02/2

Details

Source: MITRE

Published: 2018-10-07

Updated: 2019-04-03

Type: CWE-20

Risk Information

CVSS v2

Base Score: 3.6

Vector: AV:L/AC:L/Au:N/C:N/I:P/A:P

Impact Score: 4.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Impact Score: 5.2

Exploitability Score: 1.8

Severity: HIGH

Tenable Plugins

View all (14 total)

IDNameProductFamilySeverity
124989EulerOS Virtualization for ARM 64 3.0.1.0 : kernel (EulerOS-SA-2019-1536)NessusHuawei Local Security Checks
high
123679Ubuntu 14.04 LTS / 16.04 LTS : linux-hwe, linux-aws-hwe, linux-azure, linux-gcp, linux-oracle (USN-3931-2)NessusUbuntu Local Security Checks
high
123678Ubuntu 18.04 LTS : linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-oracle, (USN-3931-1)NessusUbuntu Local Security Checks
high
121505Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-030-01)NessusSlackware Local Security Checks
high
120904Fedora 29 : kernel / kernel-headers (2018-f392ab8c84)NessusFedora Local Security Checks
high
120848Fedora 28 : kernel / kernel-headers (2018-ddbaca855e)NessusFedora Local Security Checks
high
119170RHEL 7 : kernel-alt (RHSA-2018:3656)NessusRed Hat Local Security Checks
high
118972Ubuntu 14.04 LTS : Linux kernel (Xenial HWE) vulnerabilities (USN-3821-2)NessusUbuntu Local Security Checks
medium
118971Ubuntu 16.04 LTS : Linux kernel vulnerabilities (USN-3821-1)NessusUbuntu Local Security Checks
medium
118861Oracle Linux 7 : Unbreakable Enterprise kernel (ELSA-2018-4270)NessusOracle Linux Local Security Checks
high
118832Amazon Linux 2 : kernel (ALAS-2018-1100)NessusAmazon Linux Local Security Checks
medium
118804Amazon Linux AMI : kernel (ALAS-2018-1100)NessusAmazon Linux Local Security Checks
medium
118047Fedora 27 : kernel / kernel-headers (2018-94315e9a6b)NessusFedora Local Security Checks
high
118023Debian DSA-4313-1 : linux - security updateNessusDebian Local Security Checks
high