Out-of-bounds Read Affecting rv package, versions <0:5.14.0-427.35.1.el9_4


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise 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 IDSNYK-RHEL9-RV-8473091
  • published5 Dec 2024
  • disclosed30 May 2024

Introduced: 30 May 2024

CVE-2024-36019  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade RHEL:9 rv to version 0:5.14.0-427.35.1.el9_4 or higher.
This issue was patched in RHSA-2024:6567.

NVD Description

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

In the Linux kernel, the following vulnerability has been resolved:

regmap: maple: Fix cache corruption in regcache_maple_drop()

When keeping the upper end of a cache block entry, the entry[] array must be indexed by the offset from the base register of the block, i.e. max - mas.index.

The code was indexing entry[] by only the register address, leading to an out-of-bounds access that copied some part of the kernel memory over the cache contents.

This bug was not detected by the regmap KUnit test because it only tests with a block of registers starting at 0, so mas.index == 0.

CVSS Scores

version 3.1