Back to CVE catalog
CVE-2017-7518

KVM trap flag emulation privilege escalation in Linux kernel

[UNKNOWN] Kernel:

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityLow

CVSS summary v3.0

5.5Medium
Published:
Updated:
EPSS:
0.672%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Adjacent

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:[UNKNOWN]Kernel:Affected versions:
4.12
Vendor:Red HatRed Hat Enterprise Linux Client (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Client Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux ComputeNode (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux ComputeNode Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Realtime (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Server Optional (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Workstation (v. 7)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux Workstation Optional (v. 7)Affected versions:Source does not specify a version range

1–10 of 50 · Page 1 of 5

CVSS scores and metrics7
redhat · CVE List / CNA (cna)Primary5.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Adjacent
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
[email protected] · NVD (Primary)7.8 / 10HighCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
[email protected] · NVD (Secondary)5.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Adjacent
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Red Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Adjacent
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
SUSE · SUSE VEX (adp)5.3 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
Low
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
[email protected] · NVD (Primary)4.6 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Local
Authentication
Not required

Source vector

AV:L/AC:L/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)5.4 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Adjacent
Authentication
Not required

Source vector

AV:A/AC:M/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories17

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences