cve.bz

CVE-2018-8897 Race Condition

7.8 highExploitEPSS 18%Fix available

High (7.8). EPSS 18% estimated probability of exploitation activity in the next 30 days.

On this page
A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) was mishandled in the development of some or all operating-system kernels, resulting in unexpected behavior for #DB exceptions that are deferred by MOV SS or POP SS, as demonstrated by (for example) privilege escalation in Windows, macOS, some Xen configurations, or FreeBSD, or a Linux kernel crash. The MOV to SS and POP SS instructions inhibit interrupts (including NMIs), data breakpoints, and single step trap exceptions until the instruction boundary following the next instruction (SDM Vol. 3A; section 6.8.3). (The inhibited data breakpoints are those on memory accessed by the MOV to SS or POP to SS instruction itself.) Note that debug exceptions are not inhibited by the interrupt enable (EFLAGS.IF) system flag (SDM Vol. 3A; section 2.3). If the instruction following the MOV to SS or POP to SS instruction is an instruction like SYSCALL, SYSENTER, INT 3, etc. that transfers control to the operating system at CPL < 3, the debug exception is delivered after the transfer to CPL < 3 is complete. OS kernels may not expect this order of events and may therefore experience unexpected behavior when it occurs.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
18% (unchanged from 18% a week ago; 18% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-8897 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8897?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8897?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-8897 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
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0
redhat:enterprise_virtualization_manager3.0
citrix:xenserver6.0.2
citrix:xenserver6.2.0
citrix:xenserver6.5
citrix:xenserver7.0
citrix:xenserver7.1
citrix:xenserver7.2
citrix:xenserver7.3
citrix:xenserver7.4
synology:diskstation_manager5.2
synology:diskstation_manager6.0
synology:diskstation_manager6.1
apple:mac_os_xbefore 10.13.4
freebsd:freebsdfrom 11.0 before 11.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7linux3.2.102-1DLA-1392-1
Debian7xen4.1.6.lts1-14DLA-1383-1
Debian8linux3.16.56-1+deb8u1DSA-4196-1
Debian8xen4.4.4lts4-0+deb8u1DLA-1577-1
Debian9linux4.9.88-1+deb9u1DSA-4196-1
Debian9xen4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6DSA-4201-1
Debian12, 13, 14linux4.15.17-1DEBIAN-CVE-2018-8897
Debian12, 13, 14xen4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6DEBIAN-CVE-2018-8897
Ubuntu14.04:LTSlinux3.13.0-147.196UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu14.04:LTSlinux-aws4.4.0-1019.19UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-124.148~14.04.1UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux4.4.0-124.148UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-aws4.4.0-1057.66UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-azure4.13.0-1016.19UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-euclid4.4.0-9027.29UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1015.19UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-hwe4.13.0-41.46~16.04.1UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-kvm4.4.0-1023.28UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-oem4.13.0-1026.29UBUNTU-CVE-2018-8897 USN-3641-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1089.97USN-3641-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 13 more0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hatenterprise_linux:6::hypervisorrhev-hypervisor70:7.3-20180521.1.el6evRHSA-2018:1711
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 19 more0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_linux:7::hypervisorimgbased, python-imgbased0:1.0.16-0.1.el7evRHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorovirt-node-ng, ovirt-node-ng-nodectl0:4.2.0-0.20170814.0.el7RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorredhat-release-virtualization-host, redhat-virtualization-host-image-update-placeholder0:4.2-3.0.el7RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:3.6-20180521.0.el7_3RHSA-2018:1710
Red Hatenterprise_linux:7::hypervisorredhat-virtualization-host, redhat-virtualization-host-image-update0:4.2-20180508.0.el7_5RHSA-2018:1524
Red Hatenterprise_linux:7::hypervisorrhev-hypervisor70:7.3-20180521.1.el7evRHSA-2018:1711
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.25.4.rt56.613.el6rtRHSA-2018:1354
13 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.73.1SUSE-SU-2018:1173-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_211-3.3.1SUSE-SU-2018:1173-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morexen4.7.5_02-43.30.1SUSE-SU-2018:1216-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3 and 1 morexen4.9.2_04-3.29.1SUSE-SU-2018:1184-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_19-2.1SUSE-SU-2018:1643-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_103-2.1SUSE-SU-2018:1636-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_28-2.1SUSE-SU-2018:1642-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_38-2.1SUSE-SU-2018:1641-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_47-2.1SUSE-SU-2018:1648-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_56-2.1SUSE-SU-2018:1637-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_66-2.1SUSE-SU-2018:1645-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_76-2.1SUSE-SU-2018:1640-1
56 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedxen4.15.1_01-1.2openSUSE-SU-2024:11520-1
Alpinev3.4xen4.6.6-r5ALPINE-CVE-2018-8897
Alpinev3.5xen4.7.3-r9ALPINE-CVE-2018-8897
Alpinev3.6xen4.8.3-r1ALPINE-CVE-2018-8897
Alpinev3.7xen4.9.2-r2ALPINE-CVE-2018-8897
Alpinev3.9, v3.10, v3.12 and 12 morexen4.10.1-r1ALPINE-CVE-2018-8897

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5, 6, 7, and Red Hat Enterprise MRG 2. Future kernel updates for Red Hat Enterprise Linux 5, 6, 7, and Red Hat Enterprise MRG 2 may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5.9 Long Lifekernel-0:2.6.18-348.39.2.el5Fixed 2018-05-08RHSA-2018:1352
Red Hat Enterprise Linux 5 Extended Lifecycle Supportkernel-0:2.6.18-431.el5Fixed 2018-05-08RHSA-2018:1353
Red Hat Enterprise Linux 6kernel-0:2.6.32-696.28.1.el6Fixed 2018-05-08RHSA-2018:1319
Red Hat Enterprise Linux 6.4 Advanced Update Supportkernel-0:2.6.32-358.88.2.el6Fixed 2018-05-08RHSA-2018:1349
Red Hat Enterprise Linux 6.5 Advanced Update Supportkernel-0:2.6.32-431.89.2.el6Fixed 2018-05-08RHSA-2018:1350
Red Hat Enterprise Linux 6.6 Advanced Update Supportkernel-0:2.6.32-504.68.2.el6Fixed 2018-05-08RHSA-2018:1351
Red Hat Enterprise Linux 6.6 Telco Extended Update Supportkernel-0:2.6.32-504.68.2.el6Fixed 2018-05-08RHSA-2018:1351
Red Hat Enterprise Linux 6.7 Extended Update Supportkernel-0:2.6.32-573.55.2.el6Fixed 2018-05-08RHSA-2018:1346
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-862.2.3.rt56.806.el7Fixed 2018-05-08RHSA-2018:1355
Red Hat Enterprise Linux 7kernel-0:3.10.0-862.2.3.el7Fixed 2018-05-08RHSA-2018:1318
Red Hat Enterprise Linux 7.2 Advanced Update Supportkernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Telco Extended Update Supportkernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.2 Update Services for SAP Solutionskernel-0:3.10.0-327.66.3.el7Fixed 2018-05-08RHSA-2018:1347
Red Hat Enterprise Linux 7.3 Extended Update Supportkernel-0:3.10.0-514.48.3.el7Fixed 2018-05-08RHSA-2018:1348
Red Hat Enterprise Linux 7.4 Extended Update Supportkernel-0:3.10.0-693.25.4.el7Fixed 2018-05-08RHSA-2018:1345
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.25.4.rt56.613.el6rtFixed 2018-05-08RHSA-2018:1354
Red Hat Enterprise Linux 7kernel-altAffected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Virtualization 3rhev-hypervisor-ngAffected
Red Hat Virtualization 4rhev-hypervisor-ngAffected
7 more in the JSON and on Red Hat's page.

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-8897.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON