High severity · published Jul 30, 2018
CVE-2017-7518
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…
7.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
before 4.12 · source: NVD
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
EL
Enterprise Linux · Redhat
7.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
7.4 · source: NVD
EL
Enterprise Linux Server Eus · Redhat
7.4; 7.5 · source: NVD
EL
Enterprise Linux Workstation · Redhat
7.0 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-7518
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-7518
Mailing List
http://www.openwall.com/lists/oss-security/2017/06/23/5
Third Party Advisory
http://www.securityfocus.com/bid/99263
Third Party Advisory
http://www.securitytracker.com/id/1038782
Permissions Required
https://access.redhat.com/articles/3290921
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0395
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0412
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
