Execution with Unnecessary Privileges Affecting kernel-rt-trace package, versions <0:3.10.0-693.21.1.rt56.639.el7


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (29th 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-RHEL7-KERNELRTTRACE-4815491
  • published26 Jul 2021
  • disclosed22 Jun 2017

Introduced: 22 Jun 2017

CVE-2017-7518  (opens in a new tab)
CWE-250  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:7 kernel-rt-trace to version 0:3.10.0-693.21.1.rt56.639.el7 or higher.
This issue was patched in RHSA-2018:0412.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-rt-trace package and not the kernel-rt-trace package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.