Improper handling of exceptional conditions in [UNKNOWN] Kernel:
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-250.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | Kernel: | 4.12 | — | No fix listed | CNA |
- Kernel: Vendor[UNKNOWN] Affected 4.12 Fixed in — No fix listed CNA
CPE configurations NVD · 12
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Remediation
Red Hat 2 advisories
- RHSA-2018:0395 Released 2018-03-06 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-693.21.1.el7, kernel-abi-whitelists-3.10.0-693.21.1.el7, kernel-debug-3.10.0-693.21.1.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.21.1.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-693.21.1.el7, kernel-abi-whitelists-3.10.0-693.21.1.el7, kernel-debug-3.10.0-693.21.1.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.21.1.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-693.21.1.el7, kernel-abi-whitelists-3.10.0-693.21.1.el7, kernel-bootwrapper-3.10.0-693.21.1.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-693.21.1.el7, kernel-tools-libs-devel-3.10.0-693.21.1.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-693.21.1.el7, kernel-abi-whitelists-3.10.0-693.21.1.el7, kernel-debug-3.10.0-693.21.1.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-693.21.1.el7
- RHSA-2018:0412 Released 2018-03-06 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Realtime (v. 7) kernel-rt-3.10.0-693.21.1.rt56.639.el7, kernel-rt-debug-3.10.0-693.21.1.rt56.639.el7, kernel-rt-debug-devel-3.10.0-693.21.1.rt56.639.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-693.21.1.rt56.639.el7, kernel-rt-debug-3.10.0-693.21.1.rt56.639.el7, kernel-rt-debug-devel-3.10.0-693.21.1.rt56.639.el7 +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux Realtime (v. 7) | Fixed | RHSA-2018:0412 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:0395 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2018:0412 |
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise MRG 2
Timeline
- 2026-10-02 Threatist record created from CVE-2017-7518
- 2026-10-03 Alias added: GHSA-hwr9-p63p-wq87
References
Patch 3
Sources
- CVE-2017-7518 · CVE Program
- CVE-2017-7518 · NVD
- FIRST EPSS
- GHSA-hwr9-p63p-wq87 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-7518 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences