CVE-2018-8897

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
NISTNIST
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
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 95%
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
Debian logo
Debian Releases
Debian Product
Codename
linux
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
trixie
6.11.5-1
fixed
sid
6.11.6-1
fixed
xen
bullseye
4.14.6-1
fixed
bullseye (security)
4.14.5+94-ge49571868d-1
fixed
bookworm
4.17.3+10-g091466ba55-1~deb12u1
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
bionic
not-affected
artful
Fixed 4.13.0-41.46
released
xenial
Fixed 4.4.0-124.148
released
trusty
Fixed 3.13.0-147.196
released
linux-aws
bionic
not-affected
artful
dne
xenial
Fixed 4.4.0-1057.66
released
trusty
Fixed 4.4.0-1019.19
released
linux-azure
bionic
not-affected
artful
dne
xenial
Fixed 4.13.0-1016.19
released
trusty
not-affected
linux-euclid
bionic
dne
artful
dne
xenial
Fixed 4.4.0-9027.29
released
trusty
dne
linux-flo
bionic
dne
artful
dne
xenial
ignored
trusty
dne
linux-gcp
bionic
not-affected
artful
dne
xenial
Fixed 4.13.0-1015.19
released
trusty
dne
linux-gke
bionic
dne
artful
dne
xenial
ignored
trusty
dne
linux-goldfish
bionic
dne
artful
dne
xenial
ignored
trusty
dne
linux-grouper
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-hwe
bionic
not-affected
artful
dne
xenial
Fixed 4.13.0-41.46~16.04.1
released
trusty
dne
linux-hwe-edge
bionic
Fixed 4.18.0-8.9~18.04.1
released
artful
dne
xenial
Fixed 4.13.0-41.46~16.04.1
released
trusty
dne
linux-kvm
bionic
not-affected
artful
dne
xenial
Fixed 4.4.0-1023.28
released
trusty
dne
linux-lts-trusty
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-lts-utopic
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-lts-vivid
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-lts-wily
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-lts-xenial
bionic
dne
artful
dne
xenial
dne
trusty
Fixed 4.4.0-124.148~14.04.1
released
linux-maguro
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-mako
bionic
dne
artful
dne
xenial
ignored
trusty
dne
linux-manta
bionic
dne
artful
dne
xenial
dne
trusty
dne
linux-oem
bionic
not-affected
artful
dne
xenial
Fixed 4.13.0-1026.29
released
trusty
dne
linux-raspi2
bionic
not-affected
artful
not-affected
xenial
not-affected
trusty
dne
linux-snapdragon
bionic
not-affected
artful
not-affected
xenial
not-affected
trusty
dne
References