Local physical-memory access via freed RPC container
Published Jul 4, 2025 · Updated Aug 5, 2026
Use-after-free in the Nouveau GSP RPC path allows local users to read and write physical memory through GPU DMA. The r535_gsp_rpc_push function passes the caller RPC container to r535_gsp_rpc_send, which frees it after the first fragment while later fragments still use it. An unprivileged user with DRM render-node access can induce Nouveau runtime suspend and reallocate the freed buffer, exposing kernel memory to GPU DMA reads and writes.
Summary
What happened
Use-after-free in the Nouveau GSP RPC path allows local users to read and write physical memory through GPU DMA. The r535_gsp_rpc_push function passes the caller RPC container to r535_gsp_rpc_send, which frees it after the first fragment while later fragments still use it. An unprivileged user with DRM render-node access can induce Nouveau runtime suspend and reallocate the freed buffer, exposing kernel memory to GPU DMA reads and writes.
The record
- CVE
- CVE-2025-38187
- Published
- Jul 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 4, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=176fdcbddfd288408ce8571c1760ad618d962096 <9802f0a63b641f4cddb2139c814c2e95cb825099
- Affected versionversion=176fdcbddfd288408ce8571c1760ad618d962096 <cd4677407c0ee250fc21e36439c8a442ddd62cc1
- Affected versionversion=6.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo