CVE-2025-38187: drm/nouveau: fix a use-after-free in r535_gsp_rpc_push()

Published Jul 4, 2025
·
Updated

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

7 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=6.7<6.15.4
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
debian/linux<6.12.115-2
6.12.115-2
debian/linux<6.16.3-1
6.16.3-1
debian/linux<=6.12.107-1
6.1.176-16.1.190-16.12.115-27.2.12-17.2.15-1

Event History

Jul 4, 2025
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203