drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()
CVE-2025-38187 · published 4 Jul 2025
How serious is it
- Severity: high, CVSS score 7.8 out of 10.
- No exploit prediction (EPSS) score yet.
- Not on the CISA list of exploited vulnerabilities.
- No public exploit in Exploit-DB.
Is your app affected by CVE-2025-38187?
Paste this prompt into Claude Code, Cursor or any AI coding tool: it runs a free Shippable scan of your project and fixes what it finds. Built with Lovable, Bolt or v0? Scan your live app. Or upload your package file.
Who is affected
- Linux Linux: 176fdcbddfd288408ce8571c1760ad618d962096 to < 69270d24af7694494ac4116bcad30a812ca49ca7, 176fdcbddfd288408ce8571c1760ad618d962096 to < cd4677407c0ee250fc21e36439c8a442ddd62cc1, 176fdcbddfd288408ce8571c1760ad618d962096 to < 9802f0a63b641f4cddb2139c814c2e95cb825099
- Linux Linux: 6.7
How to check
- Find out whether you run the affected product and which version, then compare it with the versions above.
How to fix
Copies a prompt for Claude Code, Cursor or Codex that asks it to check whether you run this product.
- Apply the vendor's update or mitigation from the references below. If there is none yet, limit exposure of the affected service until there is.
- If a vulnerable version was live, check your logs and rotate the secrets that server could read.
The advisory
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 ]
Check your whole app
Dependencies are only half of it. Free and read-only: before you push, run npx shippable-dev scan localhost:3000 in your project folder, no account needed. For your live app, you prove it's yours with a one-line tag first.
References
- git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7
- git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1
- git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099
Merged from CVE List. Last updated 25 Oct 2026. All vulnerabilities · RSS · JSON