CVE-2025-38090

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38090
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38090.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38090
Downstream
Related
Published
2025-06-30T08:15:23Z
Modified
2025-08-12T21:01:19Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In

riocmcdevioctl(RIOCMCHANSEND) -> cmchanmsgsend() -> riocmchsend()

cmchanmsgsend() checks that userspace didn't send too much data but riocmchsend() failed to check that userspace sent sufficient data. The result is that riocmchsend() can write to fields in the riochchanhdr which were outside the bounds of the space which cmchanmsg_send() allocated.

Address this by teaching riocmchsend() to check that the entire riochchan_hdr was copied in from userspace.

References

Affected packages