Incorrect Calculation of Buffer Size Affecting perf package, versions <0:4.18.0-425.13.1.el8_7


Severity

Recommended
high

Based on Rocky Linux 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-ROCKY8-PERF-3329246
  • published22 Feb 2023
  • disclosed22 Aug 2022

Introduced: 22 Aug 2022

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

How to fix?

Upgrade Rocky-Linux:8 perf to version 0:4.18.0-425.13.1.el8_7 or higher.
This issue was patched in RLSA-2023:0832.

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.

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