Kernel: KVM: error in exception handling leads to wrong debug stack value
Published May 15, 2018
8.0
HIGHCVSS 3.0
EPSS 0.76%
Description
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.
Affected products
-
- Version kernel 4.16StatusaffectedConstraints-
- Version kernel 4.16-rc7StatusaffectedConstraints-
- Version kernel 4.17-rc1StatusaffectedConstraints-
- Version kernel 4.17-rc2StatusaffectedConstraints-
- Version kernel 4.17-rc3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
Configuration 1
- 4.16
- 4.16
- 4.17
- 4.17
- 4.17
Configuration 2
- 14.04
- 16.04
- 17.10
Configuration 3
- 8.0
- 9.0
Configuration 4
- 7.0
- 7.0
- 7.0
- 7.2
- 7.3
- 7.4
- 7.3
- 7.4
- 7.5
- 7.2
- 7.3
- 7.4
- 4.0
- 7.0
No data.
RHEV 3.X Hypervisor and Agents for RHEL-6
rhev-hypervisor7-0:7.3-20180521.1.el6ev
Fixed · RHSA-2018:1711
RHEV 3.X Hypervisor and Agents for RHEL-7 ELS
redhat-virtualization-host-0:3.6-20180521.0
Fixed · RHSA-2018:1710
RHEV 3.X Hypervisor and Agents for RHEL-7 ELS
rhev-hypervisor7-0:7.3-20180521.1.el7ev
Fixed · RHSA-2018:1711
Red Hat Enterprise Linux 7
kernel-0:3.10.0-862.2.3.el7
Fixed · RHSA-2018:1318
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-862.2.3.rt56.806.el7
Fixed · RHSA-2018:1355
Red Hat Enterprise Linux 7.2 Advanced Update Support
kernel-0:3.10.0-327.66.3.el7
Fixed · RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Telco Extended Update Support
kernel-0:3.10.0-327.66.3.el7
Fixed · RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions
kernel-0:3.10.0-327.66.3.el7
Fixed · RHSA-2018:1347
Red Hat Enterprise Linux 7.3 Extended Update Support
kernel-0:3.10.0-514.48.3.el7
Fixed · RHSA-2018:1348
Red Hat Enterprise Linux 7.4 Extended Update Support
kernel-0:3.10.0-693.25.4.el7
Fixed · RHSA-2018:1345
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
imgbased-0:1.0.16-0.1.el7ev
Fixed · RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
ovirt-node-ng-0:4.2.0-0.20170814.0.el7
Fixed · RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-release-virtualization-host-0:4.2-3.0.el7
Fixed · RHSA-2018:1524
Red Hat Virtualization 4 for Red Hat Enterprise Linux 7
redhat-virtualization-host-0:4.2-20180508.0
Fixed · RHSA-2018:1524
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
Red Hat Enterprise Virtualization 3
rhev-hypervisor-ng
Affected
Red Hat Virtualization 4
rhev-hypervisor-ng
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| RHEV 3.X Hypervisor and Agents for RHEL-6 | rhev-hypervisor7-0:7.3-20180521.1.el6ev | Fixed | RHSA-2018:1711 |
| RHEV 3.X Hypervisor and Agents for RHEL-7 ELS | redhat-virtualization-host-0:3.6-20180521.0 | Fixed | RHSA-2018:1710 |
| RHEV 3.X Hypervisor and Agents for RHEL-7 ELS | rhev-hypervisor7-0:7.3-20180521.1.el7ev | Fixed | RHSA-2018:1711 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-862.2.3.el7 | Fixed | RHSA-2018:1318 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-862.2.3.rt56.806.el7 | Fixed | RHSA-2018:1355 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | kernel-0:3.10.0-327.66.3.el7 | Fixed | RHSA-2018:1347 |
| Red Hat Enterprise Linux 7.2 Telco Extended Update Support | kernel-0:3.10.0-327.66.3.el7 | Fixed | RHSA-2018:1347 |
| Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions | kernel-0:3.10.0-327.66.3.el7 | Fixed | RHSA-2018:1347 |
| Red Hat Enterprise Linux 7.3 Extended Update Support | kernel-0:3.10.0-514.48.3.el7 | Fixed | RHSA-2018:1348 |
| Red Hat Enterprise Linux 7.4 Extended Update Support | kernel-0:3.10.0-693.25.4.el7 | Fixed | RHSA-2018:1345 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | imgbased-0:1.0.16-0.1.el7ev | Fixed | RHSA-2018:1524 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | ovirt-node-ng-0:4.2.0-0.20170814.0.el7 | Fixed | RHSA-2018:1524 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-release-virtualization-host-0:4.2-3.0.el7 | Fixed | RHSA-2018:1524 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 | redhat-virtualization-host-0:4.2-20180508.0 | Fixed | RHSA-2018:1524 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Virtualization 3 | rhev-hypervisor-ng | Affected | n/a |
| Red Hat Virtualization 4 | rhev-hypervisor-ng | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 5, 6, and Red Hat Enterprise MRG 2. This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 7. Future kernel updates for Red Hat Enterprise Linux 7 may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.76% (0.00757) | 53.52th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.77% (0.00773) | 50.73th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.02% (0.00023) | 3.56th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00064) | 30.08th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.06% (0.00064) | 28.38th | v3 (v2023.03.01) |
| May 9, 2023 | 0.06% (0.00064) | 26.30th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00046) | 14.04th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.08% (0.03080) | 65.20th | v1 |
| Jan 6, 2022 | 3.08% (0.03080) | 64.86th | v1 |
| Sep 1, 2021 | 3.08% (0.03080) | 81.27th | v1 |
| Apr 14, 2021 | 3.08% (0.03080) | 0.00th | v1 |
References (18)
- http://www.openwall.com/lists/oss-security/2018/05/08/5 x_refsource_MISCMailing List
- http://www.securityfocus.com/bid/104127 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040862 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:1318 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1345 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1347 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1348 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1355 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1524 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-1087 Vendor Advisory
- https://access.redhat.com/security/vulnerabilities/pop_ss x_refsource_MISCThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1566837 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1087 x_refsource_CONFIRMIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2018-1087
- https://usn.ubuntu.com/3641-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3641-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-1087
- https://www.debian.org/security/2018/dsa-4196 vendor-advisoryx_refsource_DEBIANThird Party Advisory
Change history (0)
No recorded changes yet.