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…
- 5.5MediumCVSS base score
- 0.67%Exploitation in 30 daysEPSS · top 48% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 16 months later
· 16 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | Medium5.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.67% · top 48% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
References
12
- RHSA-2018:0412 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/articles/3290921 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-3619-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:0395 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3754-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 1038782 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20170623 CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3619-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-3981 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [kvm] 20170622 [PATCH] KVM: x86: fix singlestepping over syscall (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 99263 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-16535 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-7518)Record last updated .