CVE-2018-8897
Reported by mitre · Published May 8, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 4.14.42-61.37.amzn2 |
| linux | Arch Linux | 4.17.2-1 |
| linux-zen | Arch Linux | 4.17-1 |
| linux-lts | Arch Linux | 4.14.44-1 |
| linux-oem | Ubuntu:16.04:LTS | 4.13.0-1026.29 |
| mac_os_x | apple | 10.13.4 |
| linux-gcp | Ubuntu:16.04:LTS | 4.13.0-1015.19 |
| linux-aws | Ubuntu:14.04:LTS | 4.4.0-1019.19 |
| linux | Ubuntu:16.04:LTS | 4.4.0-124.148 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-124.148~14.04.1 |
| linux-azure | Ubuntu:16.04:LTS | 4.13.0-1016.19 |
| linux | Ubuntu:14.04:LTS | 3.13.0-147.196 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | perf | 0 |
| arch | linux | 0 |
| arch | linux-zen | 0 |
| arch | linux-lts | 0 |
| n/a | n/a | * |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel-headers | 0 |
| arch | linux-hardened | 0 |
Timeline
- May 8, 2018 CVE Published
- May 22, 2018 PoC Published (5 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- May 13, 2022 CVE Updated
- Mar 6, 2026 Distribution Patch (22 in total, the first dated here)
- Mar 6, 2026 Security Advisory (26 in total, the first dated here)
- Sep 18, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-8897
vulnetix vdb fixes CVE-2018-8897
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-8897/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- 1040849 vdb-entryx_refsource_SECTRACK
- 104071 vdb-entryx_refsource_BID
- RHSA-2018:1350 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2018:1347 vendor-advisoryx_refsource_REDHAT
- 44697 exploitx_refsource_EXPLOIT-DB
- [debian-lts-announce] 20180525 [SECURITY] [DLA 1383-1] xen security update mailing-listx_refsource_MLIST
- 1040866 vdb-entryx_refsource_SECTRACK
- [debian-lts-announce] 20181112 [SECURITY] [DLA 1577-1] xen security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20180601 [SECURITY] [DLA 1392-1] linux security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- RHSA-2018:1346 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1348 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1354 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- DSA-4196 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- 1040744 vdb-entryx_refsource_SECTRACK
…and 28 more