CVE-2025-39705
drm/amd/display: fix a Null pointer dereference vulnerability
Check your servers for CVE-2025-39705
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39705 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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)
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before dd9699368f37aca4f216857847a46a8a2c289f94 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 0d9f4f202de1522aadc7a827aba0ae92b3d70937 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 0961673cc5f0055957aa46f25eb4ef6c07e00165 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 4ade995b9b25b3c6e8dc42c27070340f1358d8c8 affected from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, before 1bcf63a44381691d6192872801f830ce3250e367
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.44 up to and including 6.12.* unaffected from 6.16.4 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39705 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39705
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39705
trivy image --scanners vuln IMAGE | grep CVE-2025-39705
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/dd9699368f37aca4f216857847a46a8a2c289f94 git.kernel.org
- https://git.kernel.org/stable/c/0d9f4f202de1522aadc7a827aba0ae92b3d70937 git.kernel.org
- https://git.kernel.org/stable/c/0961673cc5f0055957aa46f25eb4ef6c07e00165 git.kernel.org
- https://git.kernel.org/stable/c/4ade995b9b25b3c6e8dc42c27070340f1358d8c8 git.kernel.org
- https://git.kernel.org/stable/c/1bcf63a44381691d6192872801f830ce3250e367 git.kernel.org
Source: the record CVE-2025-39705 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse