{"id":"CVE-2026-98129","summary":"scsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix NULL pointer dereference in mpi3mr_sas_port_add()\n\nsas_port_alloc_num() can return NULL on memory allocation failure. The\nreturn value is passed directly to sas_port_add() without a NULL check,\nwhich causes a NULL pointer dereference.\n\nAdditionally, if sas_port_add() fails, the allocated port is not freed\nbefore jumping to out_fail, leaking the sas_port structure. Call\nsas_port_free() to properly release it.","modified":"2026-10-09T17:26:54.451871608Z","published":"2026-09-25T10:36:09.614Z","related":["openSUSE-SU-2026:12074-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98129.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c50137ba11b6e20e7074303dae35ff58d5a0b6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e3489b5950e7668355762968a7c7f75fe9bc80d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c848a1bbe110496eff8dcdf7cfbff66a69edae89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98129.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98129"},{"type":"PACKAGE","url":"https://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":"7e3489b5950e7668355762968a7c7f75fe9bc80d"},{"fixed":"c848a1bbe110496eff8dcdf7cfbff66a69edae89"},{"fixed":"5c50137ba11b6e20e7074303dae35ff58d5a0b6f"},{"fixed":"2f69ed909de9e3d46af9db7dd24b9b80dc31b5ec"},{"fixed":"5cb58b052cf09dd8e88d92c1d649b3eea5c95d4d"},{"fixed":"dba9e2181ca5e875f98b8b9b4535cdaab87dcb0d"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98129.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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/osv-test-cve-osv-conversion/osv-output/CVE-2026-98129.json"}}],"schema_version":"1.9.0"}