CVE-2017-7518
Vulnerability Summary
Timeline
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 Metrics
- v3.0•MEDIUM•Score: 5.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- v3.0•HIGH•Score: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.67%• Percentile: 51%
Techniques & Countermeasures
- CWE-250•Execution with Unnecessary Privileges
The product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses.
- CWE-755•Improper Handling of Exceptional Conditions
The product does not handle or incorrectly handles an exceptional condition.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04
- debian•linux
< 4.11.11-1 | < 4.11.11-1 | < 4.11.11-1 | < 4.11.11-1
- ubuntu•linux
< 3.13.0-157.207 | < 4.4.0-119.143
- ubuntu•linux-aws
< 4.4.0-1016.16 | < 4.4.0-1054.63
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.15
all
- ubuntu•linux-fips
< 4.4.0-1008.10
- ubuntu•linux-gcp
< 4.13.0-1002.5
- ubuntu•linux-gcp-6.11
all
- ubuntu•linux-gke
all
- ubuntu•linux-hwe
< 4.13.0-32.35~16.04.1
- ubuntu•linux-hwe-6.11
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1020.25
- ubuntu•linux-lowlatency-hwe-6.11
all
- ubuntu•linux-lts-xenial
< 4.4.0-119.143~14.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1086.94 | all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all | all
- ubuntu•linux-snapdragon
< 4.4.0-1088.93
- debian•debian_linux
8.0 | 9.0
- linux•linux_kernel
< 4.12
- redhat•enterprise_linux
7.0
- redhat•enterprise_linux_desktop
7.0
- redhat•enterprise_linux_server
7.0
- redhat•enterprise_linux_server_aus
7.4
- redhat•enterprise_linux_server_eus
7.4 | 7.5
- redhat•enterprise_linux_workstation
7.0
- [unknown]•kernel:
4.12
References (19)
- https://access.redhat.com/errata/RHSA-2018:0412
- https://access.redhat.com/articles/3290921
- https://usn.ubuntu.com/3619-2/
- https://access.redhat.com/errata/RHSA-2018:0395
- https://usn.ubuntu.com/3754-1/
- http://www.securitytracker.com/id/1038782
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- http://www.openwall.com/lists/oss-security/2017/06/23/5
- https://usn.ubuntu.com/3619-1/
- https://www.debian.org/security/2017/dsa-3981
- https://www.spinics.net/lists/kvm/msg151817.html
- http://www.securityfocus.com/bid/99263
- https://ubuntu.com/security/CVE-2017-7518
- https://bugzilla.redhat.com/show_bug.cgi?id=1464473
- https://ubuntu.com/security/notices/USN-3619-1
- https://ubuntu.com/security/notices/USN-3619-2
- https://ubuntu.com/security/notices/USN-3754-1
- https://www.cve.org/CVERecord?id=CVE-2017-7518
- https://security-tracker.debian.org/tracker/CVE-2017-7518