CVE-2025-39705: drm/amd/display: fix a Null pointer dereference vulnerability
Vulnerability summary
CVE-2025-39705 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 34 · Related 33Timeline
- 05-09-2025PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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)
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.14% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu149 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 0d9f4f202de1522aadc7a827aba0ae92b3d70937 | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 0961673cc5f0055957aa46f25eb4ef6c07e00165 | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 4ade995b9b25b3c6e8dc42c27070340f1358d8c8 | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 1bcf63a44381691d6192872801f830ce3250e367 | 4.15
- linux_kernel≥ 4.15, < 6.12.44 | ≥ 6.13, < 6.16.4
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.48-1 | < 6.16.5-1
3 vendors · 152 products