CVE-2026-98129 scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()
A NULL pointer dereference in the mpi3mr SCSI driver can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-98129?
CVE-2026-98129 is a medium-severity vulnerability in Linux kernel, published on 25 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2026-98129?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-98129?
Apply the vendor's patch.
Is CVE-2026-98129 being exploited?
There is no known exploitation of CVE-2026-98129 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-104460, BELL-CVE-2026-98129, DEBIAN-CVE-2026-98129, GHSA-7v7j-6hjx-3w6v, UBUNTU-CVE-2026-98129.