CVE-2018-8897

EUVD-2018-20505
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.
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
LOW
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 96%
Affected Products (NVD)
VendorProductVersion
debiandebian_linux
7.0
debiandebian_linux
8.0
debiandebian_linux
9.0
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
17.10
redhatenterprise_linux_server
7.0
redhatenterprise_linux_workstation
7.0
redhatenterprise_virtualization_manager
3.0
citrixxenserver
6.0.2
citrixxenserver
6.2.0
citrixxenserver
6.5
citrixxenserver
7.0
citrixxenserver
7.1
citrixxenserver
7.2
citrixxenserver
7.3
citrixxenserver
7.4
synologyskynas
-
synologydiskstation_manager
5.2
synologydiskstation_manager
6.0
synologydiskstation_manager
6.1
applemac_os_x
𝑥
< 10.13.4
xenxen
-
freebsdfreebsd
11.0 ≤
𝑥
< 11.1
𝑥
= Vulnerable software versions
Windows Releases
Platform
Version
Windows 10
(x64, x86)
1607 (x64, x86)
1703 (x64, x86)
1709 (x64, x86)
1803 (x64, x86)
Windows 7
Service Pack 1 (x64, x86)
Windows 8.1
(x64, x86)
Windows RT 8.1
All
Windows Server
1709 Server Core
1803 Server Core
Windows Server 2008
Service Pack 2 (x64, x86)
Service Pack 2 Server Core (x64, x86)
Windows Server 2008 R2
Service Pack 1 (x64)
Service Pack 1 Server Core (x64)
Windows Server 2012
Server Core
Standard
Windows Server 2012 R2
Server Core
Standard
Windows Server 2016
Server Core
Standard
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
sid
6.11.6-1
fixed
trixie
6.11.5-1
fixed
xen
bookworm
4.17.3+10-g091466ba55-1~deb12u1
fixed
bullseye
4.14.6-1
fixed
bullseye (security)
4.14.5+94-ge49571868d-1
fixed
sid
4.17.3+36-g54dacb5c02-1
fixed
trixie
4.17.3+36-g54dacb5c02-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
artful
Fixed 4.13.0-41.46
released
bionic
not-affected
trusty
Fixed 3.13.0-147.196
released
xenial
Fixed 4.4.0-124.148
released
linux-aws
artful
dne
bionic
not-affected
trusty
Fixed 4.4.0-1019.19
released
xenial
Fixed 4.4.0-1057.66
released
linux-azure
artful
dne
bionic
not-affected
trusty
not-affected
xenial
Fixed 4.13.0-1016.19
released
linux-euclid
artful
dne
bionic
dne
trusty
dne
xenial
Fixed 4.4.0-9027.29
released
linux-flo
artful
dne
bionic
dne
trusty
dne
xenial
ignored
linux-gcp
artful
dne
bionic
not-affected
trusty
dne
xenial
Fixed 4.13.0-1015.19
released
linux-gke
artful
dne
bionic
dne
trusty
dne
xenial
ignored
linux-goldfish
artful
dne
bionic
dne
trusty
dne
xenial
ignored
linux-grouper
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-hwe
artful
dne
bionic
not-affected
trusty
dne
xenial
Fixed 4.13.0-41.46~16.04.1
released
linux-hwe-edge
artful
dne
bionic
Fixed 4.18.0-8.9~18.04.1
released
trusty
dne
xenial
Fixed 4.13.0-41.46~16.04.1
released
linux-kvm
artful
dne
bionic
not-affected
trusty
dne
xenial
Fixed 4.4.0-1023.28
released
linux-lts-trusty
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-lts-utopic
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-lts-vivid
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-lts-wily
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-lts-xenial
artful
dne
bionic
dne
trusty
Fixed 4.4.0-124.148~14.04.1
released
xenial
dne
linux-maguro
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-mako
artful
dne
bionic
dne
trusty
dne
xenial
ignored
linux-manta
artful
dne
bionic
dne
trusty
dne
xenial
dne
linux-oem
artful
dne
bionic
not-affected
trusty
dne
xenial
Fixed 4.13.0-1026.29
released
linux-raspi2
artful
not-affected
bionic
not-affected
trusty
dne
xenial
not-affected
linux-snapdragon
artful
not-affected
bionic
not-affected
trusty
dne
xenial
not-affected
References