Skip to content

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, resulti...

HighCVSS 7.8 EPSS 18.5% Framework module Public exploit
Published
Updated
Exploit status
Public exploit available

Description

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.

Affected products

ProductAffected versionsFixed in
debian/linux(Debian:12) < 4.15.17-1 4.15.17-1
debian/linux(Debian:13) < 4.15.17-1 4.15.17-1
debian/linux(Debian:14) < 4.15.17-1 4.15.17-1
debian/xen(Debian:12) < 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6
debian/xen(Debian:13) < 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6
debian/xen(Debian:14) < 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6 4.8.3+xsa262+shim4.10.0+comet3-1+deb9u6
debian linux = 7.0 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 17.10 No fix listed
redhat enterprise linux server = 7.0 No fix listed
redhat enterprise linux workstation = 7.0 No fix listed
redhat enterprise virtualization manager = 3.0 No fix listed
citrix xenserver = 6.0.2 No fix listed
citrix xenserver = 6.2.0 No fix listed
citrix xenserver = 6.5 No fix listed
citrix xenserver = 7.0 No fix listed
citrix xenserver = 7.1 No fix listed
citrix xenserver = 7.2 No fix listed
citrix xenserver = 7.3 No fix listed
citrix xenserver = 7.4 No fix listed
Synology skynas All versions No fix listed
Synology diskstation manager = 5.2 No fix listed
Show 24 more
ProductAffected versionsFixed in
Synology diskstation manager = 6.0 No fix listed
Synology diskstation manager = 6.1 No fix listed
apple mac os x < 10.13.4 10.13.4
Xen All versions No fix listed
freebsd >= 11.0, < 11.1 11.1
alpine/xen(Alpine:v3.10) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.12) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.13) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.14) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.15) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.16) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.17) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.18) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.19) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.20) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.21) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.22) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.23) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.24) < 4.10.1-r1 4.10.1-r1
alpine/xen(Alpine:v3.4) < 4.6.6-r5 4.6.6-r5
alpine/xen(Alpine:v3.5) < 4.7.3-r9 4.7.3-r9
alpine/xen(Alpine:v3.6) < 4.8.3-r1 4.8.3-r1
alpine/xen(Alpine:v3.7) < 4.9.2-r2 4.9.2-r2
alpine/xen(Alpine:v3.9) < 4.10.1-r1 4.10.1-r1

References