CVEvulnerability

CVE-2018-8897

7.8 HIGH Published 2018-05-08 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-05-08
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-362

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 configurations

• debian debian linux 7.0 • debian debian linux 8.0 • debian debian linux 9.0 • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04 • canonical ubuntu linux 17.10 • redhat enterprise linux server 7.0 • redhat enterprise linux workstation 7.0 • redhat enterprise virtualization manager 3.0 • citrix xenserver 6.0.2 • citrix xenserver 6.2.0 • citrix xenserver 6.5 • citrix xenserver 7.0 • citrix xenserver 7.1 • citrix xenserver 7.2 • citrix xenserver 7.3 • citrix xenserver 7.4 • synology skynas • synology diskstation manager 5.2 • synology diskstation manager 6.0 • synology diskstation manager 6.1 • apple mac os x (< 10.13.4) • xen xen • freebsd freebsd (>= 11.0 < 11.1)

Related

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References