CVEvulnerability

CVE-2026-98129

5.5 MEDIUM Published 2026-09-25 Modified 2026-10-22 Official page ↗
Status
Analyzed
Published
2026-09-25
Last modified
2026-10-22
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
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 configurations

• linux linux kernel (>= 6.1 < 6.1.189) • linux linux kernel (>= 6.2 < 6.6.158) • linux linux kernel (>= 6.7 < 6.12.111) • linux linux kernel (>= 6.13 < 6.18.53) • linux linux kernel (>= 6.19 < 7.2.7) • linux linux kernel 7.3

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References