CVE-2025-38187

published 4 Jul 2025 · updated 21 Oct 2026

drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 69270d24af7694494ac4116bcad30a812ca49ca7, Kernel 9802f0a63b641f4cddb2139c814c2e95cb825099 and Kernel cd4677407c0ee250fc21e36439c8a442ddd62cc1.

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in r535_gsp_rpc_push() The RPC container is released after being passed to r535_gsp_rpc_send(). When sending the initial fragment of a large RPC and passing the caller's RPC container, the container will be freed prematurely. Subsequent attempts to send remaining fragments will therefore result in a use-after-free. Allocate a temporary RPC container for holding the initial fragment of a large RPC when sending. Free the caller's container when all fragments are successfully sent. [ Rebase onto Blackwell changes. - Danilo ]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.7, >=176fdcbddfd288408ce8571c1760ad618d962096 <69270d24af7694494ac4116bcad30a812ca49ca7, >=176fdcbddfd288408ce8571c1760ad618d962096 <9802f0a63b641f4cddb2139c814c2e95cb825099, >=176fdcbddfd288408ce8571c1760ad618d962096 <cd4677407c0ee250fc21e36439c8a442ddd62cc169270d24af7694494ac4116bcad30a812ca49ca7, 9802f0a63b641f4cddb2139c814c2e95cb825099, cd4677407c0ee250fc21e36439c8a442ddd62cc1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38187 severity on Zeptric[![CVE-2025-38187](https://zeptric.io/badge/cve/CVE-2025-38187.svg)](https://zeptric.io/cve/CVE-2025-38187)