cve.bz

CVE-2018-12904

4.9 mediumExploitEPSS 1.1%Fix available

Medium (4.9). EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

4.9 medium
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
1.1% (unchanged from 1.1% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-12904 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-12904?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-12904?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-12904 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 4.17.2
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux4.16.16-1DEBIAN-CVE-2018-12904
Ubuntu16.04:LTSlinux-azure4.15.0-1022.22~16.04.1UBUNTU-CVE-2018-12904 USN-3752-3
Ubuntu16.04:LTSlinux-gcp4.15.0-1018.19~16.04.2UBUNTU-CVE-2018-12904 USN-3752-3
Ubuntu16.04:LTSlinux-hwe4.15.0-33.36~16.04.1UBUNTU-CVE-2018-12904 USN-3752-2
Ubuntu18.04:LTSlinux4.15.0-33.36UBUNTU-CVE-2018-12904 USN-3752-1
Ubuntu18.04:LTSlinux-aws, linux-kvm4.15.0-1020.20UBUNTU-CVE-2018-12904 USN-3752-1
Ubuntu18.04:LTSlinux-azure4.15.0-1022.23UBUNTU-CVE-2018-12904 USN-3752-3
Ubuntu18.04:LTSlinux-gcp4.15.0-1018.19UBUNTU-CVE-2018-12904 USN-3752-1
Ubuntu18.04:LTSlinux-oem4.15.0-1017.20UBUNTU-CVE-2018-12904 USN-3752-3
Ubuntu18.04:LTSlinux-raspi24.15.0-1021.23UBUNTU-CVE-2018-12904 USN-3752-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_02-4.1SUSE-SU-2018:2474-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect the versions of the kernel package as shipped with

Red Hat Enterprise Linux 5, 6, 7 and Red Hat Enterprise MRG 2.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise MRG 2realtime-kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-12904.

Public exploits

References

Check your stackJSON