Description
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.
Metrics
CVSS 3.0 7.8/10
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | Kernel: | 4.12 |
References
- http://www.openwall.com/lists/oss-security/2017/06/23/5Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/99263Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038782Third Party Advisory, VDB Entry
- https://access.redhat.com/articles/3290921Permissions Required, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0395Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0412Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3619-1/Third Party Advisory
- https://usn.ubuntu.com/3619-2/Third Party Advisory
- https://usn.ubuntu.com/3754-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-3981Third Party Advisory
- https://www.spinics.net/lists/kvm/msg151817.htmlMailing List, Patch
- http://www.openwall.com/lists/oss-security/2017/06/23/5Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/99263Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038782Third Party Advisory, VDB Entry
- https://access.redhat.com/articles/3290921Permissions Required, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0395Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0412Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518Issue Tracking, Patch, Third Party Advisory
- https://usn.ubuntu.com/3619-1/Third Party Advisory
- https://usn.ubuntu.com/3619-2/Third Party Advisory
- https://usn.ubuntu.com/3754-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-3981Third Party Advisory
- https://www.spinics.net/lists/kvm/msg151817.htmlMailing List, Patch
Timeline
- Published
- Jul 30, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified