CVE-2025-38187 Details
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 ]
A use-after-free vulnerability has been fixed in the Linux kernel's Nouveau Direct Rendering Manager (DRM) component. The issue arises in the function r535_gsp_rpc_push(), where the RPC container is released after being sent to r535_gsp_rpc_send(). This premature release can lead to a use-after-free condition when the initial fragment of a large RPC is sent, causing subsequent fragments to attempt to access a freed container. The vulnerability has been addressed by allocating a temporary RPC container for the initial fragment and ensuring the caller's container is only freed after all fragments have been successfully sent.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/69270d24af7694494ac4116bcad30a812ca49ca7 | kernel.org | |
| https://git.kernel.org/stable/c/9802f0a63b641f4cddb2139c814c2e95cb825099 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cd4677407c0ee250fc21e36439c8a442ddd62cc1 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.7, < 6.15.4 6.16 rc1 6.16 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jul 4, 2025 | New CVE Received | kernel.org |