CVE Database›Document archive›CVE-2025-38090

CVE-2025-38090

kernel: drivers/rapidio/rio_cm.c: prevent possible heap overwrite

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · June 30, 2025

Updated · October 30, 2026

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.

Statement

This vulnerability does not affect Red Hat Enterprise Linux or Red Hat In-Vehicle OS, as the RapidIO subsystem is not enabled or compiled in supported kernel builds. While an unprivileged local attacker with access to the RapidIO character device could trigger out-of-bounds memory corruption in upstream kernels, the required driver interfaces are absent from default Red Hat installations. Consequently, the flaw presents no operational risk to standard deployments.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified