CVE-2018-1087 json
kernel KVM before versions kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2 and kernel 4.17-rc3 is vulnerable to a flaw in th…
published 2018-05-15 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-11737
- cvss
- 8.0
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
kernel KVM before versions kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2 and kernel 4.17-rc3 is vulnerable to a flaw in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, the processor did not deliver interrupts and exceptions, rather they are delivered once the first instruction after the stack switch is executed. An unprivileged KVM guest user could use this flaw to crash the guest or, potentially, escalate their privileges in the guest.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 4.15.17-1
debian advisories DEBIAN-CVE-2018-1087
- linux Ubuntu 14.04 LTS 3.13.0-147.196
- linux Ubuntu 16.04 LTS 4.4.0-124.148
- linux-aws Ubuntu 14.04 LTS 4.4.0-1019.19
- linux-aws Ubuntu 16.04 LTS 4.4.0-1057.66
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1015.19
- linux-hwe Ubuntu 16.04 LTS 4.13.0-41.46~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1023.28
- linux-oem Ubuntu 16.04 LTS 4.13.0-1026.29
ubuntu advisories UBUNTU-CVE-2018-1087
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- redhat-virtualization-host RHEL 7 3.6-20180521.0.el7_3
- redhat-virtualization-host-image-update RHEL 7 3.6-20180521.0.el7_3
- rhev-hypervisor7 RHEL 6 7.3-20180521.1.el6ev
- rhev-hypervisor7 RHEL 7 7.3-20180521.1.el7ev
- kernel RHEL 7 3.10.0-862.2.3.el7
- perf RHEL 7 3.10.0-862.2.3.el7
- python-perf RHEL 7 3.10.0-862.2.3.el7
- kernel-kdump RHEL 7 3.10.0-862.2.3.el7
red hat advisories RHSA-2018:1710RHSA-2018:1711RHSA-2018:1318RHSA-2018:1347RHSA-2018:1348RHSA-2018:1345
- kernel-syms SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kernel-source SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kernel-default SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.73.1
- kgraft-patch-SLE12-SP2_Update_21 SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 1-3.3.1
- kernel-ec2 SLE Module for Public Cloud 12 3.12.74-60.64.88.1
- kernel-xen SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.88.1
- kernel-syms SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.88.1
- kernel-source SLES for SAP 12 SP1, SLES 12 SP1-LTSS, OpenStack Cloud 6 3.12.74-60.64.88.1
suse advisories SUSE-SU-2018:1173-2SUSE-SU-2018:1636-1SUSE-SU-2018:1644-1SUSE-SU-2018:1639-1SUSE-SU-2018:1645-1SUSE-SU-2018:1640-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1087 updated cvss 8.0
Kernel: KVM: error in exception handling leads to wrong debug stack value
-
Red Hat Enterprise Virtualization 3 rhev-hypervisor-ng Red Hat Virtualization 4 rhev-hypervisor-ngaffected: no fix available
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-862.2.3.el7, kernel 3.10.0-862.2.3.el7, python-perf 3.10.0-862.2.3.el7, kernel-tools 3.10.0-862.2.3.el7, kernel-tools-libs 3.10.0-862.2.3.el7, kernel-abi-whitelists 3.10.0-862.2.3.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.2.3.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-862.2.3.el7, kernel 3.10.0-862.2.3.el7, python-perf 3.10.0-862.2.3.el7, kernel-tools 3.10.0-862.2.3.el7, kernel-tools-libs 3.10.0-862.2.3.el7, kernel-abi-whitelists 3.10.0-862.2.3.el7, +1 morefixed: vendor fix RHSA-2018:1318
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.3) perf 3.10.0-514.48.3.el7, kernel 3.10.0-514.48.3.el7, python-perf 3.10.0-514.48.3.el7, kernel-tools 3.10.0-514.48.3.el7, kernel-tools-libs 3.10.0-514.48.3.el7, kernel-abi-whitelists 3.10.0-514.48.3.el7, +1 morefixed: vendor fix RHSA-2018:1348
-
Red Hat Enterprise Linux ComputeNode EUS (v. 7.4) perf 3.10.0-693.25.4.el7, kernel 3.10.0-693.25.4.el7, python-perf 3.10.0-693.25.4.el7, kernel-tools 3.10.0-693.25.4.el7, kernel-tools-libs 3.10.0-693.25.4.el7, kernel-abi-whitelists 3.10.0-693.25.4.el7, +1 morefixed: vendor fix RHSA-2018:1345
-
Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.2.3.el7fixed: vendor fix RHSA-2018:1318
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.3) kernel-debuginfo-common-x86_64 3.10.0-514.48.3.el7fixed: vendor fix RHSA-2018:1348
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4) kernel-debuginfo-common-x86_64 3.10.0-693.25.4.el7fixed: vendor fix RHSA-2018:1345
-
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) perf 3.10.0-862.2.3.el7, kernel 3.10.0-862.2.3.el7, python-perf 3.10.0-862.2.3.el7, kernel-kdump 3.10.0-862.2.3.el7, kernel-tools 3.10.0-862.2.3.el7, kernel-tools-libs 3.10.0-862.2.3.el7, +4 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) kernel-debuginfo-common-ppc64le 3.10.0-862.2.3.el7fixed: vendor fix RHSA-2018:1318
show 16 moreshow fewer
-
Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-862.2.3.rt56.806.el7, kernel-rt-kvm 3.10.0-862.2.3.rt56.806.el7, kernel-rt-trace 3.10.0-862.2.3.rt56.806.el7, kernel-rt-debug-kvm 3.10.0-862.2.3.rt56.806.el7, kernel-rt-trace-kvm 3.10.0-862.2.3.rt56.806.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-862.2.3.rt56.806.el7 Red Hat Enterprise Linux Realtime (v. 7) kernel-rt 3.10.0-862.2.3.rt56.806.el7, kernel-rt-trace 3.10.0-862.2.3.rt56.806.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-862.2.3.rt56.806.el7fixed: vendor fix RHSA-2018:1355
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-862.2.3.el7, kernel 3.10.0-862.2.3.el7, python-perf 3.10.0-862.2.3.el7, kernel-kdump 3.10.0-862.2.3.el7, kernel-tools 3.10.0-862.2.3.el7, kernel-tools-libs 3.10.0-862.2.3.el7, +6 morefixed: vendor fix RHSA-2018:1318
-
Red Hat Enterprise Linux Server AUS (v. 7.2) perf 3.10.0-327.66.3.el7, kernel 3.10.0-327.66.3.el7, python-perf 3.10.0-327.66.3.el7, kernel-tools 3.10.0-327.66.3.el7, kernel-tools-libs 3.10.0-327.66.3.el7, kernel-abi-whitelists 3.10.0-327.66.3.el7, +1 more Red Hat Enterprise Linux Server E4S (v. 7.2) perf 3.10.0-327.66.3.el7, kernel 3.10.0-327.66.3.el7, python-perf 3.10.0-327.66.3.el7, kernel-tools 3.10.0-327.66.3.el7, kernel-tools-libs 3.10.0-327.66.3.el7, kernel-abi-whitelists 3.10.0-327.66.3.el7, +1 morefixed: vendor fix RHSA-2018:1347
-
Red Hat Enterprise Linux Server EUS (v. 7.3) perf 3.10.0-514.48.3.el7, kernel 3.10.0-514.48.3.el7, python-perf 3.10.0-514.48.3.el7, kernel-kdump 3.10.0-514.48.3.el7, kernel-tools 3.10.0-514.48.3.el7, kernel-tools-libs 3.10.0-514.48.3.el7, +6 morefixed: vendor fix RHSA-2018:1348
-
Red Hat Enterprise Linux Server EUS (v. 7.4) perf 3.10.0-693.25.4.el7, kernel 3.10.0-693.25.4.el7, python-perf 3.10.0-693.25.4.el7, kernel-kdump 3.10.0-693.25.4.el7, kernel-tools 3.10.0-693.25.4.el7, kernel-tools-libs 3.10.0-693.25.4.el7, +6 morefixed: vendor fix RHSA-2018:1345
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-862.2.3.el7, kernel-debuginfo-common-x86_64 3.10.0-862.2.3.el7, kernel-debuginfo-common-ppc64le 3.10.0-862.2.3.el7fixed: vendor fix RHSA-2018:1318
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.2) kernel-debuginfo-common-x86_64 3.10.0-327.66.3.el7 Red Hat Enterprise Linux Server Optional E4S (v. 7.2) kernel-debuginfo-common-x86_64 3.10.0-327.66.3.el7fixed: vendor fix RHSA-2018:1347
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.3) kernel-debuginfo-common-ppc64 3.10.0-514.48.3.el7, kernel-debuginfo-common-x86_64 3.10.0-514.48.3.el7, kernel-debuginfo-common-ppc64le 3.10.0-514.48.3.el7fixed: vendor fix RHSA-2018:1348
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.4) kernel-debuginfo-common-ppc64 3.10.0-693.25.4.el7, kernel-debuginfo-common-x86_64 3.10.0-693.25.4.el7, kernel-debuginfo-common-ppc64le 3.10.0-693.25.4.el7fixed: vendor fix RHSA-2018:1345
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.2) kernel-debuginfo-common-x86_64 3.10.0-327.66.3.el7 Red Hat Enterprise Linux Server TUS (v. 7.2) perf 3.10.0-327.66.3.el7, kernel 3.10.0-327.66.3.el7, python-perf 3.10.0-327.66.3.el7, kernel-tools 3.10.0-327.66.3.el7, kernel-tools-libs 3.10.0-327.66.3.el7, kernel-abi-whitelists 3.10.0-327.66.3.el7, +1 morefixed: vendor fix RHSA-2018:1347
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-862.2.3.el7, kernel 3.10.0-862.2.3.el7, python-perf 3.10.0-862.2.3.el7, kernel-tools 3.10.0-862.2.3.el7, kernel-tools-libs 3.10.0-862.2.3.el7, kernel-abi-whitelists 3.10.0-862.2.3.el7, +1 more Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-862.2.3.el7fixed: vendor fix RHSA-2018:1318
-
Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host 4.2-20180508.0.el7_5, redhat-virtualization-host-image-update 4.2-20180508.0.el7_5fixed: vendor fix RHSA-2018:1524
-
Red Hat RHEL 7-based RHEV-H ELS rhev-hypervisor7 7.3-20180521.1.el7ev, redhat-virtualization-host 3.6-20180521.0.el7_3, redhat-virtualization-host-image-update 3.6-20180521.0.el7_3fixed: vendor fix RHSA-2018:1711
-
Red Hat RHEL 7-based RHEV-H for RHEV 4 (build requirements) imgbased 1.0.16-0.1.el7ev, python-imgbased 1.0.16-0.1.el7ev, ovirt-node-ng 4.2.0-0.20170814.0.el7, ovirt-node-ng-nodectl 4.2.0-0.20170814.0.el7, redhat-release-virtualization-host 4.2-3.0.el7, redhat-virtualization-host-image-update-placeholder 4.2-3.0.el7fixed: vendor fix RHSA-2018:1524
-
Red Hat RHEV Hypervisor for RHEL-6 ELS rhev-hypervisor7 7.3-20180521.1.el6evfixed: vendor fix RHSA-2018:1711
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, python-perf, kernel-kdump, kernel-tools, kernel-tools-libs, +2 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.0 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- kernel KVM
Classification
- Weakness
-
- CWE-250 Execution with Unnecessary Privileges
- Technology feeds
References
-
access.redhat.com
/errata/RHSA-2018:1347
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1348
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4196
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1355
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1345
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1318
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1524
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3641-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3641-1/
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-1087
issue-tracking
-
securitytracker.com
/id/1040862
vdb-entry, third-party-advisory
-
access.redhat.com
/security/vulnerabilities/pop_ss
third-party-advisory
-
openwall.com
/lists/oss-security/2018/05/08/5
mailing-list
-
securityfocus.com
/bid/104127
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-1087
- NVD CVE-2018-1087
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.