CVE-2026-98128
scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()
Reported by linux · Published September 25, 2026
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.
EPSS 0.12% · 2.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-livepatch-6.12.111-136.204 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
6 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e22bae30667a7e74ed057e00fb6e8c79e0738de3, e22bae30667a7e74ed057e00fb6e8c79e0738de3, e22bae30667a7e74ed057e00fb6e8c79e0738de3 |
| Linux | Linux | 6.1, 0, 6.1.189 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
…and 7 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (7 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98128
vulnetix vdb fixes CVE-2026-98128
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98128/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart