CVE-2026-89742

rapidio: mport_cdev: fix use-after-free in dma_req_free()

7.8 high EPSS 0.16%

Published 11 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89742

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89742 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.83% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a
affected from e8de370188d098bb49483c287b44925957c3c9b6, before fc79c07cdcde02c5b17633d78777de6ac2c14b29
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6
affected from e8de370188d098bb49483c287b44925957c3c9b6, before bd8881c24a9520f9c3d3e855d866197f63e471a7
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 9a9929ec875ff20922c90c96fd544ae8a2a61a8d
affected from e8de370188d098bb49483c287b44925957c3c9b6, before e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 211c68d817a3d9dc14c0026a59da7cac30f8147e
affected from e8de370188d098bb49483c287b44925957c3c9b6, before 5cbef379a94b161726c5f504598bf4791d45cedc
Other versions: unaffected
Linux
affected 4.6
unaffected before 4.6
unaffected from 5.10.270 up to and including 5.10.*
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.109 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89742 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89742

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89742
trivy image --scanners vuln IMAGE | grep CVE-2026-89742

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89742 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.