CVE-2026-98128
scsi: mpi3mr: Fix target device refcount leak in mpi3mr_sas_port_add()
Mitigation
- Upgrade Linux to 419d129f970aaa6567dbac366b0c93784bf9ec97 or later.
Who should check
- Anyone running Linux >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 60a9aaac07f6470b252c4de40e7d8a6e25004093; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 040146f81d099006a354b0caacc7f01ca00f257e; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 1ccbe8c42009706af79e6629c70d42fc929aef2b; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 419d129f970aaa6567dbac366b0c93784bf9ec97
- Anyone running Linux 6.1
Vulnerability facts
- Affected
- Linux >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 60a9aaac07f6470b252c4de40e7d8a6e25004093; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 040146f81d099006a354b0caacc7f01ca00f257e; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 1ccbe8c42009706af79e6629c70d42fc929aef2b; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 419d129f970aaa6567dbac366b0c93784bf9ec97; Linux 6.1
- Fixed in
- Linux 60a9aaac07f6470b252c4de40e7d8a6e25004093, Linux 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb, Linux 040146f81d099006a354b0caacc7f01ca00f257e, Linux 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58, Linux 1ccbe8c42009706af79e6629c70d42fc929aef2b, Linux 419d129f970aaa6567dbac366b0c93784bf9ec97
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 60a9aaac07f6470b252c4de40e7d8a6e25004093; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 040146f81d099006a354b0caacc7f01ca00f257e; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 1ccbe8c42009706af79e6629c70d42fc929aef2b; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 419d129f970aaa6567dbac366b0c93784bf9ec97 | — | cvelist |
| Linux | 6.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98128. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98128.md Affected: Linux >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 60a9aaac07f6470b252c4de40e7d8a6e25004093; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 040146f81d099006a354b0caacc7f01ca00f257e; >= e22bae30667a7e74ed057e0… Fixed in: Linux 60a9aaac07f6470b252c4de40e7d8a6e25004093, Linux 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb, Linux 040146f81d099006a354b0caacc7f01ca00f257e, Linux 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58, Linux 1ccbe8c42009706af79e6629c70d42fc929aef2b, Linux 419d129f970aaa6567dbac366b0c93784bf9ec97 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/60a9aaac07f6470b252c4de40e7d8a6e25004093
- https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb
- https://git.kernel.org/stable/c/040146f81d099006a354b0caacc7f01ca00f257e
- https://git.kernel.org/stable/c/06a7073b33b8f5cb0ee71e07dc669efffb1c7d58
- https://git.kernel.org/stable/c/1ccbe8c42009706af79e6629c70d42fc929aef2b
- https://git.kernel.org/stable/c/419d129f970aaa6567dbac366b0c93784bf9ec97
FAQ
Is CVE-2026-98128 being exploited?
There is no confirmed exploitation: CVE-2026-98128 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98128?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-98128?
Linux >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 60a9aaac07f6470b252c4de40e7d8a6e25004093; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 040146f81d099006a354b0caacc7f01ca00f257e; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 1ccbe8c42009706af79e6629c70d42fc929aef2b; >= e22bae30667a7e74ed057e00fb6e8c79e0738de3, < 419d129f970aaa6567dbac366b0c93784bf9ec97; Linux 6.1.
Is there a fix for CVE-2026-98128?
Yes. Fixed in Linux 60a9aaac07f6470b252c4de40e7d8a6e25004093, Linux 58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb, Linux 040146f81d099006a354b0caacc7f01ca00f257e, Linux 06a7073b33b8f5cb0ee71e07dc669efffb1c7d58, Linux 1ccbe8c42009706af79e6629c70d42fc929aef2b, Linux 419d129f970aaa6567dbac366b0c93784bf9ec97. Upgrade Linux to 419d129f970aaa6567dbac366b0c93784bf9ec97 or later.
How do I check if I'm affected by CVE-2026-98128?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.