CVE-2026-89742
rapidio: mport_cdev: fix use-after-free in dma_req_free()
Mitigation
- Upgrade Linux to 5cbef379a94b161726c5f504598bf4791d45cedc or later.
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
Vulnerability facts
- Affected
- Linux >= e8de370188d098bb49483c287b44925957c3c9b6, < 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < fc79c07cdcde02c5b17633d78777de6ac2c14b29; >= e8de370188d098bb49483c287b44925957c3c9b6, < 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; >= e8de370188d098bb49483c287b44925957c3c9b6, < bd8881c24a9520f9c3d3e855d866197f63e471a7; >= e8de370188d098bb49483c287b44925957c3c9b6, < 9a9929ec875ff20922c90c96fd544ae8a2a61a8d; >= e8de370188d098bb49483c287b44925957c3c9b6, < e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0; >= e8de370188d098bb49483c287b44925957c3c9b6, < 211c68d817a3d9dc14c0026a59da7cac30f8147e; >= e8de370188d098bb49483c287b44925957c3c9b6, < 5cbef379a94b161726c5f504598bf4791d45cedc; Linux 4.6
- Fixed in
- Linux 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a, Linux 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6, Linux 9a9929ec875ff20922c90c96fd544ae8a2a61a8d, Linux 211c68d817a3d9dc14c0026a59da7cac30f8147e, Linux 5cbef379a94b161726c5f504598bf4791d45cedc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e8de370188d098bb49483c287b44925957c3c9b6, < 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a; >= e8de370188d098bb49483c287b44925957c3c9b6, < fc79c07cdcde02c5b17633d78777de6ac2c14b29; >= e8de370188d098bb49483c287b44925957c3c9b6, < 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6; >= e8de370188d098bb49483c287b44925957c3c9b6, < bd8881c24a9520f9c3d3e855d866197f63e471a7; >= e8de370188d098bb49483c287b44925957c3c9b6, < 9a9929ec875ff20922c90c96fd544ae8a2a61a8d; >= e8de370188d098bb49483c287b44925957c3c9b6, < e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0; >= e8de370188d098bb49483c287b44925957c3c9b6, < 211c68d817a3d9dc14c0026a59da7cac30f8147e; >= e8de370188d098bb49483c287b44925957c3c9b6, < 5cbef379a94b161726c5f504598bf4791d45cedc | — | cvelist |
| Linux | 4.6 | — | 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-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.
References
Other
- https://git.kernel.org/stable/c/00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a
- https://git.kernel.org/stable/c/fc79c07cdcde02c5b17633d78777de6ac2c14b29
- https://git.kernel.org/stable/c/26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6
- https://git.kernel.org/stable/c/bd8881c24a9520f9c3d3e855d866197f63e471a7
- https://git.kernel.org/stable/c/9a9929ec875ff20922c90c96fd544ae8a2a61a8d
- https://git.kernel.org/stable/c/e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0
- https://git.kernel.org/stable/c/211c68d817a3d9dc14c0026a59da7cac30f8147e
- https://git.kernel.org/stable/c/5cbef379a94b161726c5f504598bf4791d45cedc
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-26).
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.