7.8high
drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 176fdcbddfd288408ce8571c1760ad618d962096 before 69270d24af7694494ac4116bcad30a812ca49ca7, from 176fdcbddfd288408ce8571c1760ad618d962096 before cd4677407c0ee250fc21e36439c8a442ddd62cc1, from 176fdcbddfd288408ce8571c1760ad618d962096 before 9802f0a63b641f4cddb2139c814c2e95cb825099, 6.7 Not affected: before 6.7, from 6.12.114 up to 6.12.*, from 6.15.4 up to 6.15.*, from 6.16 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.15.4, 6.16 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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 ]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/nouveau: se corrige un error de use-after-free en r535_gsp_rpc_push(). El contenedor RPC se libera tras pasarse a r535_gsp_rpc_send(). Al enviar el fragmento inicial de una RPC grande y pasar el contenedor RPC del emisor, este se liberará prematuramente. Por lo tanto, los intentos posteriores de enviar los fragmentos restantes resultarán en un error de use-after-free. Asigne un contenedor RPC temporal para almacenar el fragmento inicial de una RPC grande durante el envío. Libere el contenedor del emisor cuando todos los fragmentos se hayan enviado correctamente. [Rebase sobre los cambios de Blackwell. - Danilo]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38187 changed 2026-10-21 | CVE Terms of Use |
| NVD | CVE-2025-38187 changed 2026-10-21 | Public domain |