CVE-2026-98129
Description
A flaw was found in the Linux kernel's mpi3mr SCSI driver. The driver fails to validate the return value of a memory allocation when adding a Serial Attached SCSI (SAS) port, leading to a NULL pointer dereference if the allocation fails. A local user could exploit this flaw under low-memory conditions to cause a kernel crash, resulting in a Denial of Service (DoS).
Statement
A low impact denial of service flaw was found in the Linux kernel's mpi3mr SCSI driver. When a SAS port is added, the return value of sas_port_alloc_num() is passed to sas_port_add() without a NULL check, so a memory allocation failure results in a NULL pointer dereference and a kernel crash. Exploiting this flaw requires local access on a system using the mpi3mr driver and depends on a memory allocation failing at the moment a SAS port is created, for example during SAS expander discovery or a SCSI rescan, which makes it most likely under low-memory conditions. The flaw affects only availability; confidentiality and integrity are not impacted. Red Hat Enterprise Linux 8, 9, and 10 (kernel and kernel-rt), Red Hat In-Vehicle OS, and OpenShift Container Platform releases built on RHEL CoreOS 9 are affected, while RHEL 6, RHEL 7, RHEL 8.4, RHEL 8.6, and OpenShift 4.12 (RHEL CoreOS 8) are not affected because the vulnerable code is not present. Because the impact is low and the flaw is difficult to trigger reliably, fixes for the affected releases have been deferred and will be delivered in a future update; the residual risk is a local kernel crash (denial of service) on systems using the mpi3mr driver. The upstream fix also frees the allocated sas_port structure when sas_port_add() fails, addressing a related memory leak.
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.
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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 5.5 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | Low | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | None | None | N/A |
| Integrity Impact | None | None | N/A |
| Availability Impact | High | High | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
Integrity,Confidentiality
Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory
In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.