CVE-2025-38187: drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()
In the Linux kernel, the following vulnerability has been resolved:
drm/nouveau: fix a use-after-free in r535gsprpcpush()
The RPC container is released after being passed to r535gsprpcsend().
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-38187?
CVE-2025-38187 has a high severity rating due to its use-after-free vulnerability in the Linux kernel.
How do I fix CVE-2025-38187?
To fix CVE-2025-38187, update your Linux kernel to the latest version where the vulnerability has been patched.
What versions of the Linux kernel are affected by CVE-2025-38187?
CVE-2025-38187 affects specific versions of the Linux kernel that are vulnerable to the use-after-free issue in drm/nouveau.
What type of vulnerability is CVE-2025-38187?
CVE-2025-38187 is categorized as a use-after-free vulnerability, which can lead to potential code execution.
Who is responsible for addressing CVE-2025-38187?
The maintainers of the Linux kernel are responsible for addressing CVE-2025-38187 with appropriate updates and patches.