CVEvulnerability

CVE-2025-38090

5.5 MEDIUM Published 2025-06-30 Modified 2026-07-30 Official page ↗
Status
Modified
Published
2025-06-30
Last modified
2026-07-30
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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 configurations

• linux linux kernel (>= 4.8 < 5.4.295) • linux linux kernel (>= 5.5 < 5.10.239) • linux linux kernel (>= 5.11 < 5.15.186) • linux linux kernel (>= 5.16 < 6.1.142) • linux linux kernel (>= 6.2 < 6.6.95) • linux linux kernel (>= 6.7 < 6.12.35) • linux linux kernel (>= 6.13 < 6.15.4) • linux linux kernel 6.16 • debian debian linux 11.0

References