CVEfocus › CVE database › CVE-2018-8897

CVE-2018-8897

CVSS 7.8 HighEPSS 18.5% (higher than 97% of CVEs)Published 2018-05-08Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 18% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

82Fixed
1Fix pending
21Will not fix
85Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04linuxNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-azure-fdeNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-gkeopNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-ibmNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-intelNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-lowlatencyNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-nvidiaNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-nvidia-lowlatencyNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-oem-6.11Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-oem-6.8Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-raspiNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-raspi-realtimeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 24.04linux-realtimeNot affected
vulnerable_code_not_present
Ubuntu 24.04linux-riscvNot affected
vulnerable_code_not_present
Ubuntu 22.04linuxNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-aws-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-azure-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-azure-fdeNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-gcp-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-gkeopNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-hwe-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-ibmNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-intel-iot-realtimeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 22.04linux-intel-iotgNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-kvmNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-lowlatencyNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-lowlatency-hwe-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-nvidiaNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-nvidia-6.5Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-nvidia-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-oracle-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-raspiNot affected
vulnerable_code_not_present
Ubuntu 22.04linux-realtimeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 22.04linux-riscvWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 22.04linux-riscv-6.8Not affected
vulnerable_code_not_present
Ubuntu 22.04linux-xilinx-zynqmpNot affected
vulnerable_code_not_present
Ubuntu 20.04linux-azure-fdeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 20.04linux-gkeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 20.04linux-gkeopNot affected
vulnerable_code_not_present
Ubuntu 20.04linux-gkeop-5.15Not affected
vulnerable_code_not_present
Ubuntu 20.04linux-raspi2Will not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 20.04linux-riscvWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
UBUNTU-CVE-2018-8897
Ubuntu 18.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-hwe-edgeNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-oemNot affected
vulnerable_code_not_present
Ubuntu 18.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linuxFixed4.4.0-124.148UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-awsFixed4.4.0-1057.66UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-aws-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-azureFixed4.13.0-1016.19UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-euclidFixed4.4.0-9027.29UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-floWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 16.04linux-gcpFixed4.13.0-1015.19UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-gkeWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 16.04linux-goldfishWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 16.04linux-hweFixed4.13.0-41.46~16.04.1UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-kvmFixed4.4.0-1023.28UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-makoWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 16.04linux-oemFixed4.13.0-1026.29UBUNTU-CVE-2018-8897
Ubuntu 16.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Not affected
vulnerable_code_not_present
Ubuntu 16.04linux-snapdragonNot affected
vulnerable_code_not_present
Ubuntu 14.04linuxFixed3.13.0-147.196UBUNTU-CVE-2018-8897
Ubuntu 14.04linux-awsFixed4.4.0-1019.19UBUNTU-CVE-2018-8897
Ubuntu 14.04linux-floWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-goldfishWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-grouperWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-lts-utopicWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-lts-vividWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-lts-wilyWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-lts-xenialFixed4.4.0-124.148~14.04.1UBUNTU-CVE-2018-8897
Ubuntu 14.04linux-maguroWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-makoWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Ubuntu 14.04linux-mantaWill not fix
Thanks to Andy Lutomirski for help in Linux kernel research and test case
Debian 14linuxFixed4.15.17-1DEBIAN-CVE-2018-8897
Debian 14xenFixed4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6DEBIAN-CVE-2018-8897
Debian 13linuxFixed4.15.17-1DEBIAN-CVE-2018-8897
Debian 13xenFixed4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6DEBIAN-CVE-2018-8897
Debian 12linuxFixed4.15.17-1DEBIAN-CVE-2018-8897
Debian 12xenFixed4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6DEBIAN-CVE-2018-8897
Red Hat Enterprise Linux 8bpftoolNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-abi-stablelistsNot affected
Red Hat Enterprise Linux 8kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 8kernel-coreNot affected
Red Hat Enterprise Linux 8kernel-cross-headersNot affected
Red Hat Enterprise Linux 8kernel-debugNot affected
Red Hat Enterprise Linux 8kernel-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-debug-develNot affected
Red Hat Enterprise Linux 8kernel-debug-modulesNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-debug-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-develNot affected
Red Hat Enterprise Linux 8kernel-docNot affected
Red Hat Enterprise Linux 8kernel-headersNot affected
Red Hat Enterprise Linux 8kernel-ipaclones-internalNot affected
Red Hat Enterprise Linux 8kernel-modulesNot affected
Red Hat Enterprise Linux 8kernel-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-modules-internalNot affected
Red Hat Enterprise Linux 8kernel-selftests-internalNot affected
Red Hat Enterprise Linux 8kernel-toolsNot affected
Red Hat Enterprise Linux 8kernel-tools-libsNot affected
Red Hat Enterprise Linux 8kernel-tools-libs-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdumpNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-coreNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-develNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modulesNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-extraNot affected
Red Hat Enterprise Linux 8kernel-zfcpdump-modules-internalNot affected
Red Hat Enterprise Linux 8perfNot affected
Red Hat Enterprise Linux 8python3-perfNot affected
Red Hat Enterprise Linux 7imgbasedFixed0:1.0.16-0.1.el7evRHSA-2018:1524
Red Hat Enterprise Linux 7kernelFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-abi-whitelistsFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-altFix pending
Affected
Red Hat Enterprise Linux 7kernel-bootwrapperFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debugFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debug-develFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debuginfo-common-ppc64Fixed0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debuginfo-common-ppc64leFixed0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debuginfo-common-s390xFixed0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-debuginfo-common-x86_64Fixed0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-develFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-docFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-headersFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-kdumpFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-kdump-develFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-toolsFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-tools-libsFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7kernel-tools-libs-develFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7ovirt-node-ngFixed0:4.2.0-0.20170814.0.el7RHSA-2018:1524
Red Hat Enterprise Linux 7ovirt-node-ng-nodectlFixed0:4.2.0-0.20170814.0.el7RHSA-2018:1524
Red Hat Enterprise Linux 7perfFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7python-imgbasedFixed0:1.0.16-0.1.el7evRHSA-2018:1524
Red Hat Enterprise Linux 7python-perfFixed
Affected
0:3.10.0-862.2.3.el7RHSA-2018:1318
Red Hat Enterprise Linux 7redhat-release-virtualization-hostFixed0:4.2-3.0.el7RHSA-2018:1524
Red Hat Enterprise Linux 7redhat-virtualization-hostFixed0:3.6-20180521.0.el7_3RHSA-2018:1524
Red Hat Enterprise Linux 7redhat-virtualization-host-image-updateFixed0:3.6-20180521.0.el7_3RHSA-2018:1524
Red Hat Enterprise Linux 7redhat-virtualization-host-image-update-placeholderFixed0:4.2-3.0.el7RHSA-2018:1524
Red Hat Enterprise Linux 7rhev-hypervisor7Fixed0:7.3-20180521.1.el7evRHSA-2018:1711
Red Hat Enterprise Linux 6kernelFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-abi-whitelistsFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-bootwrapperFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debugFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debug-develFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debuginfo-common-i686Fixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debuginfo-common-ppc64Fixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debuginfo-common-s390xFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-debuginfo-common-x86_64Fixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-develFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-docFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-firmwareFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-headersFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-kdumpFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6kernel-kdump-develFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6perfFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6python-perfFixed0:2.6.32-696.28.1.el6RHSA-2018:1319
Red Hat Enterprise Linux 6rhev-hypervisor7Fixed0:7.3-20180521.1.el6evRHSA-2018:1711
Alpine Linux 3.24xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.23xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.22xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.21xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.20xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.19xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.18xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.17xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.16xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.15xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.14xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.13xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.12xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.10xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.9xenFixed4.10.1-r1ALPINE-CVE-2018-8897
Alpine Linux 3.7xenFixed4.9.2-r2ALPINE-CVE-2018-8897
Alpine Linux 3.6xenFixed4.8.3-r1ALPINE-CVE-2018-8897
Alpine Linux 3.5xenFixed4.7.3-r9ALPINE-CVE-2018-8897
Alpine Linux 3.4xenFixed4.6.6-r5ALPINE-CVE-2018-8897

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.