{"id":"CVE-2025-38187","title":"drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()","summary":"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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < 69270d24af7694494ac4116bcad30a812ca49ca7","Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < cd4677407c0ee250fc21e36439c8a442ddd62cc1","Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < 9802f0a63b641f4cddb2139c814c2e95cb825099","Linux 6.7"],"published":"2025-07-04","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:36:49.089Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-38187","references":[{"url":"https://git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7"},{"url":"https://git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1"},{"url":"https://git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099"}],"tags":["cve.org"],"epss":0.00214,"epssPercentile":0.1166,"ingestedAt":"2026-10-21T12:48:53.706Z","slug":"CVE-2025-38187","body":"## Overview\n\nIn 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 ]\n\n## Affected\n\n- `Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < 69270d24af7694494ac4116bcad30a812ca49ca7`\n- `Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < cd4677407c0ee250fc21e36439c8a442ddd62cc1`\n- `Linux >= 176fdcbddfd288408ce8571c1760ad618d962096 < 9802f0a63b641f4cddb2139c814c2e95cb825099`\n- `Linux 6.7`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}