Race Condition Affecting perf package, versions <0:4.18.0-372.16.1.el8_6


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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-RHEL8-PERF-4304171
  • published4 Jun 2022
  • disclosed20 May 2022

Introduced: 20 May 2022

CVE-2022-1729  (opens in a new tab)
CWE-366  (opens in a new tab)

How to fix?

Upgrade RHEL:8 perf to version 0:4.18.0-372.16.1.el8_6 or higher.
This issue was patched in RHSA-2022:5564.

NVD Description

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

A race condition was found the Linux kernel in perf_event_open() which can be exploited by an unprivileged user to gain root privileges. The bug allows to build several exploit primitives such as kernel address information leak, arbitrary execution, etc.

CVSS Scores

version 3.1