CVE-2026-98129

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

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before 7e3489b5950e7668355762968a7c7f75fe9bc80dAffected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before c848a1bbe110496eff8dcdf7cfbff66a69edae89Affected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before 5c50137ba11b6e20e7074303dae35ff58d5a0b6fAffected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before 2f69ed909de9e3d46af9db7dd24b9b80dc31b5ecAffected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before 5cb58b052cf09dd8e88d92c1d649b3eea5c95d4dAffected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 to before dba9e2181ca5e875f98b8b9b4535cdaab87dcb0dAffected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.