CVE Catalog

CVE-2025-38090

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel's RapidIO driver (rio_cm.c), a vulnerability allows heap overwrite. The riocm_ch_send() function failed to verify that sufficient data was provided from userspace, enabling writes beyond the allocated buffer.

Risk Assessment

An attacker can corrupt kernel memory, potentially causing system crashes or privilege escalation.

Recommendation

Update the Linux kernel immediately to a version that includes the fix adding proper length validation in riocm_ch_send().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS