CVE-2026-98128 (GCVE-0-2026-98128)

Vulnerability from cvelistv5 – Published: 2026-09-25 10:36 – Updated: 2026-10-19 09:14
VLAI
Title
scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()
Summary
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6641 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 60a9aaac07f6470b252c4de40e7d8a6e25004093 (git)
Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb (git)
Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 040146f81d099006a354b0caacc7f01ca00f257e (git)
Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58 (git)
Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 1ccbe8c42009706af79e6629c70d42fc929aef2b (git)
Affected: e22bae30667a7e74ed057e00fb6e8c79e0738de3 , < 419d129f970aaa6567dbac366b0c93784bf9ec97 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.111 , ≤ 6.12.* (semver)
Unaffected: 6.18.53 , ≤ 6.18.* (semver)
Unaffected: 7.2.7 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/mpi3mr/mpi3mr_transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "60a9aaac07f6470b252c4de40e7d8a6e25004093",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            },
            {
              "lessThan": "58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            },
            {
              "lessThan": "040146f81d099006a354b0caacc7f01ca00f257e",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            },
            {
              "lessThan": "06a7073b33b8f5cb0ee71e07dc669efffb1c7d58",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            },
            {
              "lessThan": "1ccbe8c42009706af79e6629c70d42fc929aef2b",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            },
            {
              "lessThan": "419d129f970aaa6567dbac366b0c93784bf9ec97",
              "status": "affected",
              "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/mpi3mr/mpi3mr_transport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()\n\nmpi3mr_get_tgtdev_by_addr() increments the target device kref when it\nreturns a device. If a subsequent error triggers a goto out_fail after\nthe tgtdev reference is acquired, the reference is never released\nbecause the out_fail path does not call mpi3mr_tgtdev_put(). This\nprevents the target device structure from ever being freed.\n\nAdd a tgtdev put in the out_fail path, guarded by a NULL check since\ntgtdev is only acquired for SAS_END_DEVICE types and the same cleanup\npath is shared by earlier error cases where tgtdev is still NULL."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:14:20.796Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/60a9aaac07f6470b252c4de40e7d8a6e25004093"
        },
        {
          "url": "https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e"
        },
        {
          "url": "https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b"
        },
        {
          "url": "https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97"
        }
      ],
      "title": "scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98128",
    "datePublished": "2026-09-25T10:36:09.014Z",
    "dateReserved": "2026-09-25T10:25:14.318Z",
    "dateUpdated": "2026-10-19T09:14:20.796Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98128",
      "date": "2026-11-13",
      "epss": "0.00123",
      "percentile": "0.02108"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:40:53.000Z",
      "cve": "CVE-2026-98128",
      "id": "msrc_CVE-2026-98128",
      "initial_release_date": "2026-09-28T02:47:32.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98128.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/mpi3mr/mpi3mr_transport.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "60a9aaac07f6470b252c4de40e7d8a6e25004093",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "040146f81d099006a354b0caacc7f01ca00f257e",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "06a7073b33b8f5cb0ee71e07dc669efffb1c7d58",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1ccbe8c42009706af79e6629c70d42fc929aef2b",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "419d129f970aaa6567dbac366b0c93784bf9ec97",
                    "status": "affected",
                    "version": "e22bae30667a7e74ed057e00fb6e8c79e0738de3",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/mpi3mr/mpi3mr_transport.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.1"
                  },
                  {
                    "lessThan": "6.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.111",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.53",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C7A62F3A-1168-46ED-BFB5-F15E128F1375",
                    "versionEndExcluding": "6.12.111",
                    "versionStartIncluding": "6.1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7561AABB-6D5A-4324-BC66-C6C6B012AFD8",
                    "versionEndExcluding": "6.18.53",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "19917B2D-B4B2-4416-A482-9C7C4929A921",
                    "versionEndExcluding": "7.2.7",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "11E35E1B-5DB4-4AB9-9706-CD73B799EADF",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()\n\nmpi3mr_get_tgtdev_by_addr() increments the target device kref when it\nreturns a device. If a subsequent error triggers a goto out_fail after\nthe tgtdev reference is acquired, the reference is never released\nbecause the out_fail path does not call mpi3mr_tgtdev_put(). This\nprevents the target device structure from ever being freed.\n\nAdd a tgtdev put in the out_fail path, guarded by a NULL check since\ntgtdev is only acquired for SAS_END_DEVICE types and the same cleanup\npath is shared by earlier error cases where tgtdev is still NULL."
          }
        ],
        "id": "CVE-2026-98128",
        "lastModified": "2026-10-22T15:18:03.967",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-09-25T11:17:44.163",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/60a9aaac07f6470b252c4de40e7d8a6e25004093"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-401"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-07T11:29:46+00:00",
      "cve": "CVE-2026-98128",
      "id": "CVE-2026-98128",
      "initial_release_date": "2026-09-25T00:00:00+00:00",
      "product_status:known_affected": "160",
      "product_status:known_not_affected": "43",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98128.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-20T00:04:00Z",
      "cve": "CVE-2026-98128",
      "id": "CVE-2026-98128",
      "initial_release_date": "2026-09-25T23:46:26Z",
      "product_status:known_affected": "109",
      "product_status:known_not_affected": "239",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98128",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98128.json",
      "version": "7"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.