{"id":"CVE-2025-38187","published":"2025-07-04T13:37:13Z","modified":"2026-10-21T12:36:49Z","title":"drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: fix a use-after-free in r535_gsp_rpc_push()\n\nThe RPC container is released after being passed to r535_gsp_rpc_send().\n\nWhen sending the initial fragment of a large RPC and passing the\ncaller's RPC container, the container will be freed prematurely. Subsequent\nattempts to send remaining fragments will therefore result in a\nuse-after-free.\n\nAllocate a temporary RPC container for holding the initial fragment of a\nlarge RPC when sending. Free the caller's container when all fragments\nare successfully sent.\n\n[ Rebase onto Blackwell changes. - Danilo ]","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00278,"percentile":0.129,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7","tags":[]},{"url":"https://git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1","tags":[]},{"url":"https://git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.58},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 176fdcbddfd288408ce8571c1760ad618d962096, < 69270d24af7694494ac4116bcad30a812ca49ca7",">= 176fdcbddfd288408ce8571c1760ad618d962096, < cd4677407c0ee250fc21e36439c8a442ddd62cc1",">= 176fdcbddfd288408ce8571c1760ad618d962096, < 9802f0a63b641f4cddb2139c814c2e95cb825099"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2025-20069","exploited":false,"provenance":"source"}}