CVE-2026-98128·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to patch a reference counting leak in the MPI3MR SCSI driver that can cause target device structures to persist in memory indefinitely. This vulnerability affects systems running kernel versions 6.19 through 7.2.6 and can lead to memory exhaustion over time. Apply the fix by upgrading your kernel and rebooting to prevent gradual degradation of system resources.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to check your current kernel version; if it is between 6.19 and 7.2.6, your system is vulnerable
- Run `lsmod | grep mpi3mr` to verify if the MPI3MR SCSI adapter driver is loaded on your system
- Check kernel logs with `dmesg | grep -i mpi3mr` or `journalctl -u kernel | grep mpi3mr` to see if SAS device hotplug/unplug events are occurring
- After applying the kernel update, run `uname -r` again to confirm you are running version 7.2.7 or later, then verify with `dmesg | grep 'Linux version'`
FAQ
What is CVE-2026-98128?
This is a kernel memory leak in the MPI3MR SCSI driver where target device reference counts are not properly decremented during error conditions, causing allocated structures to remain in memory permanently and eventually exhaust system RAM.
Is CVE-2026-98128 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available, though it can still degrade system stability over time.
What versions of Kernel are affected by CVE-2026-98128?
Linux kernel versions 6.19 through 7.2.6 are vulnerable; version 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98128?
Run `uname -r` to retrieve your kernel version, then check if it falls within the 6.19-7.2.6 range. Additionally, verify MPI3MR driver presence with `lsmod | grep mpi3mr`.
Does Defensia detect CVE-2026-98128?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98128 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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
- https://git.kernel.org/stable/c/58e3d2fbc8c914ed3dce2f7d915b3c4f4a3c76fb
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98128. Free for 1 server.
Get started free