# CVE-2025-38090: drivers/rapidio/rio\_cm.c: prevent possible heap overwrite

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-28)
- **Published:** 2025-06-30T07:29:45.565Z
- **Modified:** 2026-08-05T11:59:26.672Z

## Who should check

- Anyone running Linux \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< c03ddc183249f03fc7e057e02cae6f89144d0123; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 58f664614f8c3d6142ab81ae551e466dc6e092e8; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< ecf5ee280b702270afb02f61b299d3dfe3ec7730; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1921781ec4a8824bd0c520bf9363e28a880d14ec; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 6d5c6711a55c35ce09b90705546050408d9d4b61; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 50695153d7ddde3b1696dbf0085be0033bf3ddb3
- Anyone running Linux 4.8

## 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 and fixed versions

- Linux: \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< c03ddc183249f03fc7e057e02cae6f89144d0123; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 58f664614f8c3d6142ab81ae551e466dc6e092e8; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< ecf5ee280b702270afb02f61b299d3dfe3ec7730; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1921781ec4a8824bd0c520bf9363e28a880d14ec; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 6d5c6711a55c35ce09b90705546050408d9d4b61; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 50695153d7ddde3b1696dbf0085be0033bf3ddb3 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- Upgrade Linux to 50695153d7ddde3b1696dbf0085be0033bf3ddb3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38090. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38090.md
Affected: Linux >= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6; >= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < c03ddc183249f03fc7e057e02cae6f89144d0123; >= b6e8d4aa1110306378af0f3472a6b85a1f039a16, < 58f664614f8c3d6142ab81ae551e466dc6e092e8; >= b6e8d4aa1110306378af0f3…
Fixed in: Linux 58f664614f8c3d6142ab81ae551e466dc6e092e8, Linux 1921781ec4a8824bd0c520bf9363e28a880d14ec, Linux 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53, Linux 6d5c6711a55c35ce09b90705546050408d9d4b61, Linux 50695153d7ddde3b1696dbf0085be0033bf3ddb3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38090 being exploited?

There is no confirmed exploitation: CVE-2025-38090 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-38090?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38090?

Linux \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< c03ddc183249f03fc7e057e02cae6f89144d0123; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 58f664614f8c3d6142ab81ae551e466dc6e092e8; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< ecf5ee280b702270afb02f61b299d3dfe3ec7730; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1921781ec4a8824bd0c520bf9363e28a880d14ec; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 6d5c6711a55c35ce09b90705546050408d9d4b61; \>= b6e8d4aa1110306378af0f3472a6b85a1f039a16, \< 50695153d7ddde3b1696dbf0085be0033bf3ddb3; Linux 4.8.

### Is there a fix for CVE-2025-38090?

Yes. Fixed in Linux 58f664614f8c3d6142ab81ae551e466dc6e092e8, Linux 1921781ec4a8824bd0c520bf9363e28a880d14ec, Linux 1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53, Linux 6d5c6711a55c35ce09b90705546050408d9d4b61, Linux 50695153d7ddde3b1696dbf0085be0033bf3ddb3. Upgrade Linux to 50695153d7ddde3b1696dbf0085be0033bf3ddb3 or later.

### How do I check if I'm affected by CVE-2025-38090?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a8b5ea2e302aa5cd00fc7addd8df53c9bde7b5f6>
- patch: <https://git.kernel.org/stable/c/c03ddc183249f03fc7e057e02cae6f89144d0123>
- patch: <https://git.kernel.org/stable/c/58f664614f8c3d6142ab81ae551e466dc6e092e8>
- patch: <https://git.kernel.org/stable/c/ecf5ee280b702270afb02f61b299d3dfe3ec7730>
- patch: <https://git.kernel.org/stable/c/1921781ec4a8824bd0c520bf9363e28a880d14ec>
- patch: <https://git.kernel.org/stable/c/1cce6ac47f4a2ac1766b8a188dc8c8f6d8df2a53>
- patch: <https://git.kernel.org/stable/c/6d5c6711a55c35ce09b90705546050408d9d4b61>
- patch: <https://git.kernel.org/stable/c/50695153d7ddde3b1696dbf0085be0033bf3ddb3>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38090>

HTML: <https://flawdb.com/CVE-2025-38090> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38090>
