Race Condition Affecting perf package, versions <0:5.14.0-162.12.1.el9_1.0.2


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (19th 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-ROCKY9-PERF-3310935
  • published3 Feb 2023
  • disclosed25 Aug 2022

Introduced: 25 Aug 2022

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

How to fix?

Upgrade Rocky-Linux:9 perf to version 0:5.14.0-162.12.1.el9_1.0.2 or higher.
This issue was patched in RLSA-2023:0334.

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:9 relevant fixed versions and status.

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

CVSS Scores

version 3.1