{"id":"CVE-2025-38090","published":"2025-06-30T07:29:45Z","modified":"2026-08-05T11:59:26Z","title":"drivers/rapidio/rio_cm.c: prevent possible heap overwrite","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/rapidio/rio_cm.c: prevent possible heap overwrite\n\nIn\n\nriocm_cdev_ioctl(RIO_CM_CHAN_SEND)\n   -> cm_chan_msg_send()\n      -> riocm_ch_send()\n\ncm_chan_msg_send() checks that userspace didn't send too much data but\nriocm_ch_send() failed to check that userspace sent sufficient data.  The\nresult is that riocm_ch_send() can write to fields in the rio_ch_chan_hdr\nwhich were outside the bounds of the space which cm_chan_msg_send()\nallocated.\n\nAddress this by teaching riocm_ch_send() to check that the entire\nrio_ch_chan_hdr was copied in from userspace.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00319,"percentile":0.17272,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6","tags":[]},{"url":"https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123","tags":[]},{"url":"https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8","tags":[]},{"url":"https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730","tags":[]},{"url":"https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec","tags":[]},{"url":"https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53","tags":[]},{"url":"https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61","tags":[]},{"url":"https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":3.45},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < c03ddc183249f03fc7e057e02cae6f89144d0123",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 58f664614f8c3d6142ab81ae551e466dc6e092e8",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < ecf5ee280b702270afb02f61b299d3dfe3ec7730",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 1921781ec4a8824bd0c520bf9363e28a880d14ec",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 6d5c6711a55c35ce09b90705546050408d9d4b61",">= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 50695153d7ddde3b1696dbf0085be0033bf3ddb3"]},{"vendor":"Linux","product":"Linux","versions":["4.8"]}],"euvd":{"id":"EUVD-2025-20204","exploited":false,"provenance":"source"}}