Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()

mpi3mr_get_tgtdev_by_addr() increments the target device kref when it
returns a device. If a subsequent error triggers a goto out_fail after
the tgtdev reference is acquired, the reference is never released
because the out_fail path does not call mpi3mr_tgtdev_put(). This
prevents the target device structure from ever being freed.

Add a tgtdev put in the out_fail path, guarded by a NULL check since
tgtdev is only acquired for SAS_END_DEVICE types and the same cleanup
path is shared by earlier error cases where tgtdev is still NULL.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Memory Leak / Denial of Service
Action: Upgrade Kernel
AI Analysis

Impact

The Linux kernel’s mpi3mr SCSI controller driver suffered a reference count leak that prevented target device structures from ever being freed. The bug arose when an error path skipped the proper release of the target device reference, causing the device to remain allocated indefinitely. This flaw can gradually consume kernel memory and result in a denial of service when the memory pressure propagates to other kernel components. The weakness corresponds to a missing release of resource, specifically a reference count leak.

Affected Systems

All Linux kernel builds that include the mpi3mr driver without the referenced fix are affected. The defect was addressed in the kernel commits cited in the official references, so any kernel version released before those commits may still contain the vulnerability.

Risk and Exploitability

The vulnerability does not expose remote code execution; it requires the ability to trigger operations that create SCSI target devices, typically requiring kernel module load or privileged access. No EPSS score is available and the issue is not listed in the CISA KEV catalog, indicating that known exploits are not widely documented. Nevertheless, an attacker who can repeatedly initiate the flawed operation could exhaust kernel memory, leading to a local denial‑of‑service condition. The risk is moderate, primarily to availability, and the exploitability is contingent on privileged interaction with the SCSI subsystem.

Generated by OpenCVE AI on September 25, 2026 at 12:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the commit referenced in the official fix (040146f81d099006a354b0caacc7f01ca00f257e or newer).
  • Disable or restrict the MPI3MR target device management features on hosts that do not require SCSI target functionality to reduce the attack surface.
  • Monitor kernel memory usage and SCSI device initialization events for unusual patterns that may indicate exploitation attempts.

Generated by OpenCVE AI on September 25, 2026 at 12:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 25 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add() mpi3mr_get_tgtdev_by_addr() increments the target device kref when it returns a device. If a subsequent error triggers a goto out_fail after the tgtdev reference is acquired, the reference is never released because the out_fail path does not call mpi3mr_tgtdev_put(). This prevents the target device structure from ever being freed. Add a tgtdev put in the out_fail path, guarded by a NULL check since tgtdev is only acquired for SAS_END_DEVICE types and the same cleanup path is shared by earlier error cases where tgtdev is still NULL.
Title scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:36:09.014Z

Reserved: 2026-09-25T10:25:14.318Z

Link: CVE-2026-98128

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:44.163

Modified: 2026-09-25T11:17:44.163

Link: CVE-2026-98128

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T13:30:18Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime