CVE-2025-39705
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
05/09/2025
Last modified:
08/09/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)