CVE-2026-98129 is a vulnerability in Linux Kernel
Published on September 25, 2026
scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()
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.
Products Associated with CVE-2026-98129
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version e22bae30667a7e74ed057e00fb6e8c79e0738de3 and below 5c50137ba11b6e20e7074303dae35ff58d5a0b6f is affected.
- Version e22bae30667a7e74ed057e00fb6e8c79e0738de3 and below 2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec is affected.
- Version e22bae30667a7e74ed057e00fb6e8c79e0738de3 and below 5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d is affected.
- Version e22bae30667a7e74ed057e00fb6e8c79e0738de3 and below dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d is affected.
- Version 6.1 is affected.
- Before 6.1 is unaffected.
- Version 6.12.111, <= 6.12.* is unaffected.
- Version 6.18.53, <= 6.18.* is unaffected.
- Version 7.2.7, <= 7.2.* is unaffected.
- Version 7.3-rc2, <= * is unaffected.