Vulnerability Name:

CVE-2018-8897

Assigned:2018-05-08
Published:2018-05-08
Updated:2018-05-18
Summary: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.
CVSS v3 Severity:7.0 High (CCN CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.3 Medium (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): High
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
6.5 Medium (REDHAT CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H)
5.9 Medium (REDHAT Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H/E:P/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:6.0 Medium (CCN CVSS v2 Vector: AV:L/AC:H/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): High
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
References:Source: MISC
Type: UNKNOWN
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9

Source: MISC
Type: UNKNOWN
http://openwall.com/lists/oss-security/2018/05/08/1

Source: MISC
Type: UNKNOWN
http://openwall.com/lists/oss-security/2018/05/08/4

Source: BID
Type: UNKNOWN
104071

Source: SECTRACK
Type: UNKNOWN
1040744

Source: SECTRACK
Type: UNKNOWN
1040849

Source: SECTRACK
Type: UNKNOWN
1040861

Source: SECTRACK
Type: UNKNOWN
1040866

Source: SECTRACK
Type: UNKNOWN
1040882

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1318

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1319

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1345

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1346

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1347

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1348

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1349

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1350

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1351

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1352

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1353

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1354

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1355

Source: REDHAT
Type: UNKNOWN
RHSA-2018:1524

Source: MISC
Type: UNKNOWN
https://bugzilla.redhat.com/show_bug.cgi?id=1567074

Source: XF
Type: UNKNOWN
ms-kernel-cve20188897-priv-esc(142242)

Source: MISC
Type: UNKNOWN
https://github.com/can1357/CVE-2018-8897/

Source: MISC
Type: UNKNOWN
https://github.com/torvalds/linux/commit/d8ba61ba58c88d5207c1ba2f7d9a2280e7d03be9

Source: MISC
Type: UNKNOWN
https://patchwork.kernel.org/patch/10386677/

Source: MISC
Type: UNKNOWN
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8897

Source: MISC
Type: UNKNOWN
https://support.apple.com/HT208742

Source: CONFIRM
Type: UNKNOWN
https://support.citrix.com/article/CTX234679

Source: MISC
Type: UNKNOWN
https://svnweb.freebsd.org/base?view=revision&revision=333368

Source: UBUNTU
Type: UNKNOWN
USN-3641-2

Source: DEBIAN
Type: UNKNOWN
DSA-4196

Source: DEBIAN
Type: UNKNOWN
DSA-4201

Source: MISC
Type: UNKNOWN
https://www.freebsd.org/security/advisories/FreeBSD-SA-18:06.debugreg.asc

Source: CONFIRM
Type: UNKNOWN
https://www.synology.com/support/security/Synology_SA_18_21

Source: MISC
Type: UNKNOWN
https://www.triplefault.io/2018/05/spurious-db-exceptions-with-pop-ss.html

Source: MISC
Type: UNKNOWN
https://xenbits.xen.org/xsa/advisory-260.html

Vulnerable Configuration:
Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:6:*:*:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:rhel_eus:7.4:*:*:*:*:*:*:*

  • Configuration RedHat 4:
  • cpe:/a:redhat:rhel_extras_rt:7:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:linux:kernel:*:*:*:*:*:*:*:*
  • OR cpe:/o:freebsd:freebsd:*:*:*:*:*:*:*:*
  • OR cpe:/a:xensource:xen:3.0.2:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server:2008:sp2:x32:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server:2008:sp2:x64:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server_2008:-:sp2:itanium:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_7:-:sp1:-:*:-:-:x32:*
  • OR cpe:/o:microsoft:windows_7:-:sp1:x64:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server_2008:r2:sp1:x64:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server_2008:r2:sp1:itanium:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server_2012:*:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_8.1:-:-:-:*:-:-:x32:*
  • OR cpe:/o:microsoft:windows_8.1:-:-:-:*:-:-:x64:*
  • OR cpe:/o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_rt_8.1:*:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_10:-:*:*:*:*:*:x32:*
  • OR cpe:/o:microsoft:windows_10:-:*:*:*:*:*:x64:*
  • OR cpe:/o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server:1709:*:*:*:*:*:*:*
  • OR cpe:/o:microsoft:windows_server:1803:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20188897
    V
    CVE-2018-8897
    2018-05-20
    oval:com.redhat.rhsa:def:20181319
    P
    RHSA-2018:1319: kernel security and bug fix update (Important)
    2018-05-10
    oval:com.redhat.rhsa:def:20181318
    P
    RHSA-2018:1318: kernel security, bug fix, and enhancement update (Important)
    2018-05-09
    oval:com.redhat.rhsa:def:20181355
    P
    RHSA-2018:1355: kernel-rt security and bug fix update (Important)
    2018-05-08
    oval:com.ubuntu.artful:def:20188897000
    V
    CVE-2018-8897 on Ubuntu 17.10 (artful) - high.
    2018-05-08
    oval:com.ubuntu.trusty:def:20188897000
    V
    CVE-2018-8897 on Ubuntu 14.04 LTS (trusty) - high.
    2018-05-08
    oval:com.ubuntu.xenial:def:20188897000
    V
    CVE-2018-8897 on Ubuntu 16.04 LTS (xenial) - high.
    2018-05-08
    oval:com.redhat.rhsa:def:20181345
    P
    RHSA-2018:1345: kernel security update (Important)
    2018-05-08
    BACK
    linux kernel *
    freebsd freebsd *
    xensource xen 3.0.2
    microsoft windows server 2008 sp2
    microsoft windows server 2008 sp2
    microsoft windows server 2008 - sp2
    microsoft windows 7 - sp1
    microsoft windows 7 - sp1
    microsoft windows server 2008 r2 sp1
    microsoft windows server 2008 r2 sp1
    microsoft windows server 2012 *
    microsoft windows 8.1 - -
    microsoft windows 8.1 - -
    microsoft windows server 2012 r2
    microsoft windows rt 8.1 *
    microsoft windows 10 -
    microsoft windows 10 -
    microsoft windows server 2016 *
    microsoft windows server 1709
    microsoft windows server 1803