CVE-2017-7518

Summary

CVECVE-2017-7518
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-30 15:29:00 UTC
Updated2023-11-07 02:50:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-755

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel All All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server Aus 7.4 All All All
Operating System Redhat Enterprise Linux Server Aus 7.4 All All All
Operating System Redhat Enterprise Linux Server Eus 7.4 All All All
Operating System Redhat Enterprise Linux Server Eus 7.5 All All All
Operating System Redhat Enterprise Linux Server Eus 7.4 All All All
Operating System Redhat Enterprise Linux Server Eus 7.5 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All

References

ReferenceSourceLinkTags
Linux Kernel CVE-2017-7518 Privilage Escalation Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation - Red Hat Customer Portal CONFIRM access.redhat.com Permissions Required, Third Party Advisory
USN-3619-1: Linux kernel vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
USN-3619-2: Linux kernel (Xenial HWE) vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
[PATCH] KVM: x86: fix singlestepping over syscall — Linux KVM MLIST www.spinics.net Mailing List, Patch
oss-security - CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation MLIST www.openwall.com Mailing List, Patch, Third Party Advisory
Debian -- Security Information -- DSA-3981-1 linux DEBIAN www.debian.org Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
1464473 – (CVE-2017-7518) CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
USN-3754-1: Linux kernel vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
KVM Syscall Emulation Debug Error Lets Local Users on a Guest System Gain Elevated Privileges on the Guest System - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report