CVE-2025-38090: drivers/rapidio/rio_cm.c: prevent possible heap overwrite

Published Jun 30, 2025
·
Updated

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

drivers/rapidio/riocm.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 cmchanmsgsend() allocated.

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

Affected Software

10 affected components
Linux Linux kernel
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-rc1
Debian Debian Linux=11.0

Event History

Jun 30, 2025
CVE Published
via MITRE·07:29 AM
Data Sourced
via MITRE·07:29 AM
DescriptionSeverity
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38090?

CVE-2025-38090 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38090?

To fix CVE-2025-38090, update your Linux kernel to the latest patched version provided by your distribution.

3

What type of vulnerability is CVE-2025-38090?

CVE-2025-38090 is a heap overwrite vulnerability that can occur in the Linux kernel's rio_cm.c driver.

4

Which systems are affected by CVE-2025-38090?

CVE-2025-38090 affects the Linux kernel across all versions that include the vulnerable rio_cm.c driver.

5

What is the impact of CVE-2025-38090?

Exploitation of CVE-2025-38090 could lead to potential corruption of memory and cause denial of service or arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203