CVE-2026-98129

Source
https://cve.org/CVERecord?id=CVE-2026-98129
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98129.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98129
Downstream
Published
2026-09-25T10:36:09Z
Modified
2026-09-26T03:48:32Z
Summary
scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98129.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e22bae30667a7e74ed057e00fb6e8c79e0738de3
Fixed
5c50137ba11b6e20e7074303dae35ff58d5a0b6f
Fixed
2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec
Fixed
5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d
Fixed
dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98129.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98129.json"