CVE-2017-7518
Reported by redhat · Published July 30, 2018
A flaw was found in the Linux kernel before version 4.12 in the way the KVM module processed the trap flag(TF) bit in EFLAGS during emulation of the syscall instruction, which leads to a debug exception(#DB) being raised in the guest stack. A user/process inside a guest could use this flaw to potentially escalate their privileges inside the guest. Linux guests are not affected by this.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-aws | Ubuntu:14.04:LTS | 4.4.0-1016.16 |
| linux-fips | Ubuntu:Pro:FIPS:16.04:LTS | 4.4.0-1008.10 |
| linux_kernel | linux | 4.12 |
| linux-gcp | Ubuntu:16.04:LTS | 4.13.0-1002.5 |
| linux-hwe | Ubuntu:16.04:LTS | 4.13.0-32.35~16.04.1 |
| linux | Ubuntu:14.04:LTS | 3.13.0-157.207 |
| linux-lts-xenial | Ubuntu:14.04:LTS | 4.4.0-119.143~14.04.1 |
| linux-aws | Ubuntu:16.04:LTS | 4.4.0-1054.63 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1088.93 |
| linux-kvm | Ubuntu:16.04:LTS | 4.4.0-1020.25 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | Kernel: | 4.12 |
| [UNKNOWN] | Kernel: | 4.12 |
Timeline
- Jun 23, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 17, 2026 CVE Updated
- Mar 6, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 6, 2026 Security Advisory (7 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7518
vulnetix vdb fixes CVE-2017-7518
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-2017-7518/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:0412 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- USN-3619-2 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:0395 vendor-advisoryx_refsource_REDHAT
- USN-3754-1 vendor-advisoryx_refsource_UBUNTU
- 1038782 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- [oss-security] 20170623 CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation mailing-listx_refsource_MLIST
- USN-3619-1 vendor-advisoryx_refsource_UBUNTU
- DSA-3981 vendor-advisoryx_refsource_DEBIAN
- [kvm] 20170622 [PATCH] KVM: x86: fix singlestepping over syscall mailing-listx_refsource_MLIST
- 99263 vdb-entryx_refsource_BID