Use After Free Affecting perf package, versions <0:5.14.0-70.30.1.el9_0


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (6th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-PERF-5640616
  • published28 May 2023
  • disclosed2 Nov 2022

Introduced: 2 Nov 2022

CVE-2022-2585  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 perf to version 0:5.14.0-70.30.1.el9_0 or higher.
This issue was patched in ALSA-2022:7318.

NVD Description

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

It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers would be left on a list but freed, leading to a use-after-free.

CVSS Scores

version 3.1