CVE Catalog

CVE-2026-98129

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel's scsi mpi3mr driver, mpi3mr_sas_port_add() does not check the NULL return value from sas_port_alloc_num() on memory allocation failure, leading to a NULL pointer dereference. Additionally, if sas_port_add() fails, the allocated port is not freed, leaking the sas_port structure. The fix adds a NULL check and calls sas_port_free().

Risk Assessment

A NULL pointer dereference can cause a kernel crash (denial of service). A memory leak can lead to gradual exhaustion of system resources.

Recommendation

Update the Linux kernel to a version containing this fix. Monitor systems with mpi3mr controllers for kernel errors.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS