What’s Vulnerable › Vulnerabilities
CVE-2026-98129: scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-25 · updated 2026-10-22
- Weakness: CWE-476
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 products
- Linux kernel: from 6.1 before 6.1.189; from 6.2 before 6.6.158; from 6.7 before 6.12.111; from 6.13 before 6.18.53; from 6.19 before 7.2.7; 7.3-rc1 — fixed in 6.1.189, 6.12.111, 6.18.53, 6.6.158, 7.2.7
How to fix
Upgrade to a fixed version: Linux kernel 6.1.189, 6.12.111, 6.18.53, 6.6.158. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec
- https://git.kernel.org/stable/c/5c50137ba11b6e20e7074303dae35ff58d5a0b6f
- https://git.kernel.org/stable/c/5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d
- https://git.kernel.org/stable/c/7e3489b5950e7668355762968a7c7f75fe9bc80d
- https://git.kernel.org/stable/c/c848a1bbe110496eff8dcdf7cfbff66a69edae89
- https://git.kernel.org/stable/c/dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d
Get alerted when CVE-2026-98129 or the next vulnerability affects your stack