What’s Vulnerable › Vulnerabilities
CVE-2025-38187: drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-04 · updated 2026-10-21
- Weakness: CWE-416
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 ]
Affected products
- Linux kernel: from 6.7 before 6.15.4; 6.16-rc1, 6.16-rc2 — fixed in 6.15.4
How to fix
Upgrade to a fixed version: Linux kernel 6.15.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7
- https://git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099
- https://git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1
Get alerted when CVE-2025-38187 or the next vulnerability affects your stack