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


Severity

Recommended
0.0
high
0
10

Based on Rocky 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-PERF-3198249
  • published5 Jan 2023
  • disclosed1 Sept 2022

Introduced: 1 Sep 2022

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

How to fix?

Upgrade Rocky-Linux:8 perf to version 0:4.18.0-372.16.1.el8_6 or higher.
This issue was patched in RLSA-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 Rocky-Linux. See How to fix? for Rocky-Linux: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