Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-12904 EUVD-2018-4857GHSA-vx6h-cqmq-qj84

In arch/x86/kvm/vmx.c in the Linux kernel before 4.17.2, when nested virtualization is used, local attackers could cause L1 KVM guests to V…

Published Jun 27, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

In arch/x86/kvm/vmx.c in the Linux kernel before 4.17.2, when nested virtualization is used, local attackers could cause L1 KVM guests to VMEXIT, potentially allowing privilege escalations and denial of service attacks due to lack of checking of CPL.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.16.16-1 —
Debian 13 linux 4.16.16-1 —
Debian 12 linux 4.16.16-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS linux 4.15.0-33.36 USN-3752-1
Ubuntu 18.04 LTS linux-aws +1 4.15.0-1020.20 USN-3752-1
Ubuntu 18.04 LTS linux-azure 4.15.0-1022.23 USN-3752-3
Ubuntu 18.04 LTS linux-gcp 4.15.0-1018.19 USN-3752-1
Ubuntu 18.04 LTS linux-oem 4.15.0-1017.20 USN-3752-3
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1021.23 USN-3752-1
Ubuntu 16.04 LTS linux-azure 4.15.0-1022.22~16.04.1 USN-3752-3
Ubuntu 16.04 LTS linux-gcp 4.15.0-1018.19~16.04.2 USN-3752-3
Ubuntu 16.04 LTS linux-hwe 4.15.0-33.36~16.04.1 USN-3752-2
ReleasePackageFixed inAdvisory
SLE Live Patching 15 kernel-livepatch-SLE15_Update_0 2-4.1 SUSE-SU-2018:2474-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References