# CVE-2026-89742: rapidio: mport\_cdev: fix use-after-free in dma\_req\_free()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-09-11T19:46:48.522Z
- **Modified:** 2026-10-19T09:18:17.037Z

## Who should check

- Anyone running Linux \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< fc79c07cdcde02c5b17633d78777de6ac2c14b29; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< bd8881c24a9520f9c3d3e855d866197f63e471a7; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 9a9929ec875ff20922c90c96fd544ae8a2a61a8d; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 211c68d817a3d9dc14c0026a59da7cac30f8147e; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 5cbef379a94b161726c5f504598bf4791d45cedc
- Anyone running Linux 4.6

## Description

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

rapidio: mport\_cdev: fix use-after-free in dma\_req\_free()

dma\_req\_free() acquires buf\_mutex through req-\>map, drops the mapping
reference with kref\_put(), and then dereferences req-\>map again to unlock
the mutex.

If kref\_put() drops the last reference, mport\_release\_mapping() frees the
mapping, and the subsequent mutex\_unlock() dereferences a freed object. 
This is a use-after-free.

Fix this by caching map and md before kref\_put(), clearing req-\>map while
holding buf\_mutex, and using the cached md for mutex unlocking.

The bug is reachable from userspace via the RapidIO mport character device
interface.

## Affected and fixed versions

- Linux: \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< fc79c07cdcde02c5b17633d78777de6ac2c14b29; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< bd8881c24a9520f9c3d3e855d866197f63e471a7; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 9a9929ec875ff20922c90c96fd544ae8a2a61a8d; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 211c68d817a3d9dc14c0026a59da7cac30f8147e; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 5cbef379a94b161726c5f504598bf4791d45cedc (cvelist)
- Linux: 4.6 (cvelist)

## Mitigation

- Upgrade Linux to 5cbef379a94b161726c5f504598bf4791d45cedc or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89742.md
Affected: Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < fc79c07cdcde02c5b17633d78777de6ac2c14b29; >= e8de370188d098bb49483c287b44925957c3c9b6, < 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; >= e8de370188d098bb49483c2…
Fixed in: Linux 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a, Linux 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6, Linux 9a9929ec875ff20922c90c96fd544ae8a2a61a8d, Linux 211c68d817a3d9dc14c0026a59da7cac30f8147e, Linux 5cbef379a94b161726c5f504598bf4791d45cedc

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-89742 being exploited?

There is no confirmed exploitation: CVE-2026-89742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-28).

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< fc79c07cdcde02c5b17633d78777de6ac2c14b29; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< bd8881c24a9520f9c3d3e855d866197f63e471a7; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 9a9929ec875ff20922c90c96fd544ae8a2a61a8d; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 211c68d817a3d9dc14c0026a59da7cac30f8147e; \>= e8de370188d098bb49483c287b44925957c3c9b6, \< 5cbef379a94b161726c5f504598bf4791d45cedc; Linux 4.6.

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

Yes. Fixed in Linux 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a, Linux 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6, Linux 9a9929ec875ff20922c90c96fd544ae8a2a61a8d, Linux 211c68d817a3d9dc14c0026a59da7cac30f8147e, Linux 5cbef379a94b161726c5f504598bf4791d45cedc. Upgrade Linux to 5cbef379a94b161726c5f504598bf4791d45cedc or later.

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

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/00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a>
- other: <https://git.kernel.org/stable/c/fc79c07cdcde02c5b17633d78777de6ac2c14b29>
- other: <https://git.kernel.org/stable/c/26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6>
- other: <https://git.kernel.org/stable/c/bd8881c24a9520f9c3d3e855d866197f63e471a7>
- other: <https://git.kernel.org/stable/c/9a9929ec875ff20922c90c96fd544ae8a2a61a8d>
- other: <https://git.kernel.org/stable/c/e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0>
- other: <https://git.kernel.org/stable/c/211c68d817a3d9dc14c0026a59da7cac30f8147e>
- other: <https://git.kernel.org/stable/c/5cbef379a94b161726c5f504598bf4791d45cedc>

## 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-89742>

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