{"id":"CVE-2025-38090","summary":"drivers/rapidio/rio_cm.c: prevent possible heap overwrite","details":"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   -\u003e cm_chan_msg_send()\n      -\u003e 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.","modified":"2026-04-16T04:32:12.170612904Z","published":"2025-06-30T07:29:45.565Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38090.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38090.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38090"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b6e8d4aa1110306378af0f3472a6b85a1f039a16"},{"fixed":"a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6"},{"fixed":"c03ddc183249f03fc7e057e02cae6f89144d0123"},{"fixed":"58f664614f8c3d6142ab81ae551e466dc6e092e8"},{"fixed":"ecf5ee280b702270afb02f61b299d3dfe3ec7730"},{"fixed":"1921781ec4a8824bd0c520bf9363e28a880d14ec"},{"fixed":"1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53"},{"fixed":"6d5c6711a55c35ce09b90705546050408d9d4b61"},{"fixed":"50695153d7ddde3b1696dbf0085be0033bf3ddb3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38090.json"}}],"schema_version":"1.7.5"}