CVE-2026-98128

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

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.

Key facts

Published
25 Sep 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.123% likely to be exploited in the next 30 days, higher than 2.116% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 60a9aaac07f6470b252c4de40e7d8a6e25004093 (affected)
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb (affected)
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 040146f81d099006a354b0caacc7f01ca00f257e (affected)
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 (affected)
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 1ccbe8c42009706af79e6629c70d42fc929aef2b (affected)
  • e22bae30667a7e74ed057e00fb6e8c79e0738de3 up to but excluding 419d129f970aaa6567dbac366b0c93784bf9ec97 (affected)
LinuxLinux
  • Default status: affected
  • 6.1 (affected)
  • 0 up to but excluding 6.1 (unaffected)
  • 6.1.189 up to and including 6.1.* (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2.7 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 25 Sep 2026 Published

References