CVE Database›CVE-2024-42159

CVE-2024-42159

kernel: scsi: mpi3mr: Sanitise num_phys

Loading…

Severity

Moderate

Red Hat Product Security

7.3

CVSS 3.1

Review impact separately from score.

Published · July 30, 2024

Updated · June 28, 2026

Description

A vulnerability was found in the Linux kernel's mpi3mr driver in the mpi3mr_sas_port_add() function, where a lack of proper checks could lead to values that are larger than what the defined size of the num_phys field in the mr_sas_node structure being inserted, causing the field to be overwritten and potentially corrupting the structure. This issue could lead to memory corruption or crashes.

Statement

Red Hat believes this flaw to be of Moderate severity because the impact on confidentiality that a successful use of this vulnerability would have is low. Since this vulnerability primarily impacts how the system handles physical connections in the SCSI subsystem, sensitive information would most likely not be directly exposed.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

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

CWE-787 · Out-of-bounds Write