CVE-2026-98129

scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()

MEDIUM
5.5
CVSS Score
Published: September 25, 2026 at 10:36 AM UTC
Updated: October 22, 2026 at 03:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add() sas_port_alloc_num() can return NULL on memory allocation failure. The return value is passed directly to sas_port_add() without a NULL check, which causes a NULL pointer dereference. Additionally, if sas_port_add() fails, the allocated port is not freed before jumping to out_fail, leaking the sas_port structure. Call sas_port_free() to properly release it.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1 ≤ v < 6.1.1896.13 ≤ v < 6.18.536.19 ≤ v < 7.2.76.2 ≤ v < 6.6.1586.7 ≤ v < 6.12.1116.17.3e22bae30667a7e74ed057e00fb6e8c79e0738de3
Vendor states this is fixed in 2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec (fixed)
Vendor states this is fixed in 5c50137ba11b6e20e7074303dae35ff58d5a0b6f (fixed)
Vendor states this is fixed in 5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d (fixed)
Vendor states this is fixed in 7e3489b5950e7668355762968a7c7f75fe9bc80d (fixed)
Vendor states this is fixed in c848a1bbe110496eff8dcdf7cfbff66a69edae89 (fixed)
Vendor states this is fixed in dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d (fixed)
Vendor states this is fixed in 6.1 (unaffected)
Vendor states this is fixed in 6.1.189 (unaffected)
Vendor states this is fixed in 6.12.111 (unaffected)
Vendor states this is fixed in 6.18.53 (unaffected)
Vendor states this is fixed in 6.6.158 (unaffected)
Vendor states this is fixed in 7.2.7 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card