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.
INFO
Published Date :
Sept. 25, 2026, 11:17 a.m.
Last Modified :
Oct. 22, 2026, 3:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the Linux kernel patch for mpi3mr.
- Ensure target device references are properly released.
- Add tgtdev put in the out_fail path.
- Add NULL check before releasing tgtdev.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-98128.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-98128 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-98128
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-98128 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-98128 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 22, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-401 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.2.7 *cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.53 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1 up to (excluding) 6.12.111 Added Reference Type kernel.org: https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb Types: Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97 Types: Broken Link, Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/60a9aaac07f6470b252c4de40e7d8a6e25004093 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 19, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98128.json">CVE-2026-98128</a> -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 03, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98128.json">CVE-2026-98128</a> Added Reference https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb Added Reference https://git.kernel.org/stable/c/60a9aaac07f6470b252c4de40e7d8a6e25004093 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 25, 2026
Action Type Old Value New Value 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98128.json">CVE-2026-98128</a> Added Reference https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e Added Reference https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 Added Reference https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b Added Reference https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97