CVE-2025-39705 Details
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix a Null pointer dereference vulnerability [Why] A null pointer dereference vulnerability exists in the AMD display driver's (DC module) cleanup function dc_destruct(). When display control context (dc->ctx) construction fails (due to memory allocation failure), this pointer remains NULL. During subsequent error handling when dc_destruct() is called, there's no NULL check before dereferencing the perf_trace member (dc->ctx->perf_trace), causing a kernel null pointer dereference crash. [How] Check if dc->ctx is non-NULL before dereferencing. (Updated commit text and removed unnecessary error message) (cherry picked from commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)
A null pointer dereference vulnerability has been identified in the Linux kernel's AMD display driver, specifically within the cleanup function 'dc_destruct()' of the Display Core (DC) module. This vulnerability arises when the display control context ('dc->ctx') fails to initialize properly due to memory allocation issues, leaving the pointer NULL. During error handling, 'dc_destruct()' is called without checking if 'dc->ctx' is non-NULL, leading to a crash by dereferencing a NULL pointer. The vulnerability affects several versions of the Linux kernel.
The vulnerability has been addressed by modifying the 'dc_destruct()' function to include a check that ensures 'dc->ctx' is not NULL before dereferencing any of its members. Users can apply the latest patches available in the Linux kernel stable tree to mitigate this vulnerability.
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/0961673cc5f0055957aa46f25eb4ef6c07e00165 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1bcf63a44381691d6192872801f830ce3250e367 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4ade995b9b25b3c6e8dc42c27070340f1358d8c8 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.15, < 6.12.44 >= 6.13, < 6.16.4 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Sep 5, 2025 | New CVE Received | kernel.org |