CVE-2026-139723

Description

A flaw was found in the mpi3mr SCSI driver in the Linux kernel. The driver calculates the size of the target device map buffer using a 16-bit integer without validating that the number of devices fits within this range. When an excessively large number of devices are handled, this calculation wraps around, leading to an undersized buffer allocation and a subsequent out-of-bounds write. A local user could exploit this flaw to cause memory corruption, resulting in a system crash and Denial of Service (DoS).

Statement

This vulnerability is rated as Moderate severity rather than Important because exploitation requires local access with elevated administrative privileges to interact with the SCSI generic interface, alongside specific underlying Broadcom hardware. On standard Red Hat Enterprise Linux systems, the mpi3mr driver is only utilized when supported storage controllers are physically installed, and access to block SCSI generic (BSG) devices is restricted to privileged users by default. Consequently, an unprivileged local or remote attacker cannot leverage this issue, limiting the potential blast radius to local denial of service in configurations with an unusually large volume of attached storage devices.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.1N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityHighN/AN/A
Privileges RequiredHighN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.