CVE-2025-38090 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drivers/rapidio/rio_cm.c: prevent possible heap overwrite In riocm_cdev_ioctl(RIO_CM_CHAN_SEND) -> cm_chan_msg_send() -> riocm_ch_send() cm_chan_msg_send() checks that userspace didn't send too much data but riocm_ch_send() failed to check that userspace sent sufficient data. The result is that riocm_ch_send() can write to fields in the rio_ch_chan_hdr which were outside the bounds of the space which cm_chan_msg_send() allocated. Address this by teaching riocm_ch_send() to check that the entire rio_ch_chan_hdr was copied in from userspace.
A vulnerability allowing a heap overwrite has been identified in the Linux kernel's RapidIO driver. The issue arises in the 'inriocm_cdev_ioctl' function, specifically when handling the 'RIO_CM_CHAN_SEND' command. While the 'cm_chan_msg_send' function properly validates the amount of data received from userspace, the 'riocm_ch_send' function fails to ensure that sufficient data has been provided. This oversight allows 'riocm_ch_send' to write to fields in the 'rio_ch_chan_hdr' header that extend beyond the allocated memory boundaries. The vulnerability has been addressed by modifying 'riocm_ch_send' to verify that the entire header was correctly copied from userspace.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec | kernel.org | Patch |
| https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53 | kernel.org | Patch |
| https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.8, < 5.4.295 >= 5.5, < 5.10.239 >= 5.11, < 5.15.186 >= 5.16, < 6.1.142 >= 6.2, < 6.6.95 >= 6.7, < 6.12.35 >= 6.13, < 6.15.4 6.16 rc1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jun 30, 2025 | New CVE Received | kernel.org |