CVE-2025-39705CWE-476

CVE-2025-39705

Medium · published September 5, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-09-05T22:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 4.15, < 6.12.446.12.44
linux/linux_kernel≥ 6.13, < 6.16.46.16.4
References (4)
EPSS history
Timeline
  • 05 SEP 17:21Z
    drm/amd/display: fix a Null pointer dereference vulnerability
    cvelistv5