# CVE-2026-139732: scsi: mpi3mr: Fix target device reference leak in BSG task management

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:37:27.808Z
- **Modified:** 2026-11-30T14:20:05.117Z

> **AI summary (AI-generated, claude-haiku-5-5):** A reference leak in the Linux kernel mpi3mr SCSI driver's BSG task management path lets a local user exhaust target device references, causing resource leakage.

## Who should check

- Anyone running Linux \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 47877abe0be96d32df1c6f70adeffa839c61c0bf; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 2148e6f9336d068d695672b16345ed06c4ff0ea0; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f6003211dcc5a0a8f71b553fffc1dfd8fe9916be; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< de4e575e7e5863b38519214f3c1af4445068b483; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< a4ec0cf39f966ba650f4fead24600bdfb01eeda4; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f0ec04bdf6156ed2ae7d86a8819dafdd9383b705
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Fix target device reference leak in BSG task management

The target device lookup takes a reference, but it is only dropped inside a
branch that also requires the SCSI target data to be set up.  When it is
not, the reference is leaked.

Drop the reference whenever the lookup succeeded.

## Affected and fixed versions

- Linux: \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 47877abe0be96d32df1c6f70adeffa839c61c0bf; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 2148e6f9336d068d695672b16345ed06c4ff0ea0; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f6003211dcc5a0a8f71b553fffc1dfd8fe9916be; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< de4e575e7e5863b38519214f3c1af4445068b483; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< a4ec0cf39f966ba650f4fead24600bdfb01eeda4; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f0ec04bdf6156ed2ae7d86a8819dafdd9383b705 (cvelist)
- Linux: 5.19 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-139732. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139732.md
Affected: Linux >= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, < 47877abe0be96d32df1c6f70adeffa839c61c0bf; >= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, < 2148e6f9336d068d695672b16345ed06c4ff0ea0; >= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, < f6003211dcc5a0a8f71b553fffc1dfd8fe9916be; >= 506bc1a0d6ba626492c06e5…
Fixed in: Linux 47877abe0be96d32df1c6f70adeffa839c61c0bf, Linux 2148e6f9336d068d695672b16345ed06c4ff0ea0

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.
```

## FAQ

### Is CVE-2026-139732 being exploited?

There is no confirmed exploitation: CVE-2026-139732 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-139732?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-139732?

Linux \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 47877abe0be96d32df1c6f70adeffa839c61c0bf; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< 2148e6f9336d068d695672b16345ed06c4ff0ea0; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f6003211dcc5a0a8f71b553fffc1dfd8fe9916be; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< de4e575e7e5863b38519214f3c1af4445068b483; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< a4ec0cf39f966ba650f4fead24600bdfb01eeda4; \>= 506bc1a0d6ba626492c06e5632a3fbe202770fd2, \< f0ec04bdf6156ed2ae7d86a8819dafdd9383b705; Linux 5.19.

### Is there a fix for CVE-2026-139732?

Yes. Fixed in Linux 47877abe0be96d32df1c6f70adeffa839c61c0bf, Linux 2148e6f9336d068d695672b16345ed06c4ff0ea0. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-139732?

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.

## References

- other: <https://git.kernel.org/stable/c/47877abe0be96d32df1c6f70adeffa839c61c0bf>
- other: <https://git.kernel.org/stable/c/2148e6f9336d068d695672b16345ed06c4ff0ea0>
- other: <https://git.kernel.org/stable/c/f6003211dcc5a0a8f71b553fffc1dfd8fe9916be>
- other: <https://git.kernel.org/stable/c/de4e575e7e5863b38519214f3c1af4445068b483>
- other: <https://git.kernel.org/stable/c/a4ec0cf39f966ba650f4fead24600bdfb01eeda4>
- other: <https://git.kernel.org/stable/c/f0ec04bdf6156ed2ae7d86a8819dafdd9383b705>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139732>

HTML: <https://flawdb.com/CVE-2026-139732> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139732>
