CVE-2018-1087
Reported by redhat · Published May 15, 2018
kernel KVM before versions kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1, kernel 4.17-rc2 and kernel 4.17-rc3 is vulnerable to a flaw in the way the Linux kernel's KVM hypervisor handled exceptions delivered after a stack switch operation via Mov SS or Pop SS instructions. During the stack switch operation, the processor did not deliver interrupts and exceptions, rather they are delivered once the first instruction after the stack switch is executed. An unprivileged KVM guest user could use this flaw to crash the guest or, potentially, escalate their privileges in the guest.
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 |
| kernel-tools-devel | Amazon Linux | 4.14.42-61.37.amzn2 |
| kernel | Amazon Linux | 4.14.42-61.37.amzn2 |
| linux-kvm | Ubuntu:16.04:LTS | 4.4.0-1023.28 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-124.148~14.04.1 |
| linux-fips | Ubuntu:Pro:FIPS:16.04:LTS | 4.4.0-1008.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kernel | KVM | kernel 4.16, kernel 4.16-rc7, kernel 4.17-rc1 |
| kernel | KVM | 4.16, 4.16-rc7, 4.17-rc1 |
Timeline
- May 8, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 24, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (17 in total, the first dated here)
- Mar 6, 2026 Security Advisory (18 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
- Oct 30, 2026 PoC Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1087
vulnetix vdb fixes CVE-2018-1087
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-1087/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:1347 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 1040862 vdb-entryx_refsource_SECTRACK
- RHSA-2018:1348 vendor-advisoryx_refsource_REDHAT
- DSA-4196 vendor-advisoryx_refsource_DEBIAN
- RHSA-2018:1355 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1345 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- RHSA-2018:1318 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1524 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- 104127 vdb-entryx_refsource_BID
- USN-3641-2 vendor-advisoryx_refsource_UBUNTU
- USN-3641-1 vendor-advisoryx_refsource_UBUNTU