CVE-2025-39705
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
05/09/2025
Last modified:
25/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/display: fix a Null pointer dereference vulnerability<br />
<br />
[Why]<br />
A null pointer dereference vulnerability exists in the AMD display driver&#39;s<br />
(DC module) cleanup function dc_destruct().<br />
When display control context (dc->ctx) construction fails<br />
(due to memory allocation failure), this pointer remains NULL.<br />
During subsequent error handling when dc_destruct() is called,<br />
there&#39;s no NULL check before dereferencing the perf_trace member<br />
(dc->ctx->perf_trace), causing a kernel null pointer dereference crash.<br />
<br />
[How]<br />
Check if dc->ctx is non-NULL before dereferencing.<br />
<br />
(Updated commit text and removed unnecessary error message)<br />
(cherry picked from commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 6.12.44 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.16.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



