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 leads to a debug excepti...
HighCVSS 7.8
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 4.11.11-1 | 4.11.11-1 |
| debian/linux(Debian:13) | < 4.11.11-1 | 4.11.11-1 |
| debian/linux(Debian:14) | < 4.11.11-1 | 4.11.11-1 |
| redhat enterprise linux | = 7.0 | No fix listed |
| redhat enterprise linux desktop | = 7.0 | No fix listed |
| redhat enterprise linux server | = 7.0 | No fix listed |
| redhat enterprise linux server aus | = 7.4 | No fix listed |
| redhat enterprise linux server eus | = 7.4 | No fix listed |
| redhat enterprise linux server eus | = 7.5 | No fix listed |
| redhat enterprise linux workstation | = 7.0 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| Linux kernel | < 4.12 | 4.12 |
| [UNKNOWN] kernel | = 4.12 | No fix listed |
References
- Ubuntu CVE tracker vendor-advisory
- USN-3619-1 vendor-advisory
- USN-3619-2 vendor-advisory
- USN-3754-1 vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2017-7518 vendor-advisory
- [oss-security] 20170623 CVE-2017-7518 Kernel: KVM: debug exception via syscall emulation mailing-list patch third-party-advisory
- 99263 third-party-advisory vdb-entry
- 1038782 third-party-advisory vdb-entry
- access.redhat.com permissions-required third-party-advisory
- RHSA-2018:0395 third-party-advisory vendor-advisory
- RHSA-2018:0412 third-party-advisory vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- USN-3619-1 third-party-advisory vendor-advisory
- USN-3619-2 third-party-advisory vendor-advisory
- USN-3754-1 third-party-advisory vendor-advisory
- DSA-3981 third-party-advisory vendor-advisory
- [kvm] 20170622 [PATCH] KVM: x86: fix singlestepping over syscall mailing-list patch