CVE-2025-38090

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

17 Dec 2025, 18:13

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec - () https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec - Patch
References () https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53 - () https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53 - Patch
References () https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3 - () https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3 - Patch
References () https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8 - () https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8 - Patch
References () https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61 - () https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61 - Patch
References () https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6 - () https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6 - Patch
References () https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123 - () https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123 - Patch
References () https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730 - () https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory
CWE NVD-CWE-noinfo
CPE cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html -
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

30 Jun 2025, 18:38

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drivers/rapidio/rio_cm.c: impide la posible sobrescritura del montón. En riocm_cdev_ioctl(RIO_CM_CHAN_SEND) -> cm_chan_msg_send() -> riocm_ch_send(), cm_chan_msg_send() comprueba que el espacio de usuario no haya enviado demasiados datos, pero riocm_ch_send() no pudo comprobar que el espacio de usuario enviara datos suficientes. El resultado es que riocm_ch_send() puede escribir en campos del rio_ch_chan_hdr que estaban fuera de los límites del espacio que cm_chan_msg_send() asignó. Solucione esto enseñándole a riocm_ch_send() que compruebe que todo el rio_ch_chan_hdr se copió desde el espacio de usuario.

30 Jun 2025, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-30 08:15

Updated : 2025-12-17 18:13


NVD link : CVE-2025-38090

Mitre link : CVE-2025-38090

CVE.ORG link : CVE-2025-38090


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel