Vulnerabilities · 2025 · Linux
CVE-2025-38090
Linux Kernel vulnerability
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.
Affected products
Linux Kernel, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec · Patch
- git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53 · Patch
- git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3 · Patch
- git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8 · Patch
- git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61 · Patch
- git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6 · Patch
- git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123 · Patch
- git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-38090
- cve.org/CVERecord?id=CVE-2025-38090
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.