CVE-2025-38090
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/06/2025
Last modified:
30/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drivers/rapidio/rio_cm.c: prevent possible heap overwrite<br />
<br />
In<br />
<br />
riocm_cdev_ioctl(RIO_CM_CHAN_SEND)<br />
-> cm_chan_msg_send()<br />
-> riocm_ch_send()<br />
<br />
cm_chan_msg_send() checks that userspace didn&#39;t send too much data but<br />
riocm_ch_send() failed to check that userspace sent sufficient data. The<br />
result is that riocm_ch_send() can write to fields in the rio_ch_chan_hdr<br />
which were outside the bounds of the space which cm_chan_msg_send()<br />
allocated.<br />
<br />
Address this by teaching riocm_ch_send() to check that the entire<br />
rio_ch_chan_hdr was copied in from userspace.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec
- https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53
- https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3
- https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8
- https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61
- https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6
- https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123
- https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730