| Name | CVE-2026-89742 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6528-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bookworm | 6.1.176-1 | vulnerable |
| bookworm (security) | 6.1.187-1 | vulnerable | |
| trixie | 6.12.107-1 | vulnerable | |
| trixie (security) | 6.12.111-1 | fixed | |
| forky, sid | 7.2.8-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | trixie | 6.12.111-1 | DSA-6528-1 | ||
| linux | source | (unstable) | 7.2.6-1 |
https://git.kernel.org/linus/5cbef379a94b161726c5f504598bf4791d45cedc (7.3-rc1)