Skip to main content
← All vulnerabilities
CVE-2025-38187

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.114, 6.15.4
None on Exploit-DB, Metasploit or GitHub

Summary

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 ]

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 176fdcbddfd288408ce8571c1760ad618d962096 · fixed in 69270d24af7694494ac4116bcad30a812ca49ca7; From 176fdcbddfd288408ce8571c1760ad618d962096 · fixed in cd4677407c0ee250fc21e36439c8a442ddd62cc1; From 176fdcbddfd288408ce8571c1760ad618d962096 · fixed in 9802f0a63b641f4cddb2139c814c2e95cb825099

  • Linux Linux

    6.7

  • KernelLinux

    From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.15.4

References 3

git.kernel.org