Incorrect Calculation of Buffer Size Affecting perf package, versions <0:5.14.0-162.18.1.el9_1


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-ALMALINUX9-PERF-5608022
  • published28 May 2023
  • disclosed28 Feb 2023

Introduced: 28 Feb 2023

CVE-2022-2873  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 perf to version 0:5.14.0-162.18.1.el9_1 or higher.
This issue was patched in ALSA-2023:0951.

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.

An out-of-bounds memory access flaw was found in the Linux kernel Intel’s iSMT SMBus host controller driver in the way a user triggers the I2C_SMBUS_BLOCK_DATA (with the ioctl I2C_SMBUS) with malicious input data. This flaw allows a local user to crash the system.

CVSS Scores

version 3.1