Access Restriction Bypass Affecting torvalds/linux package, versions [,4.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3005106
  • published26 Jan 2022
  • disclosed30 Jul 2018
  • creditUnknown

Introduced: 30 Jul 2018

CVE-2017-7518  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.12 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. 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 Base Scores

version 3.1