{"id":"CVE-2025-39705","aliases":["CVE-2025-39705"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: fix a Null pointer dereference vulnerability","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix a Null pointer dereference vulnerability\n\n[Why]\nA null pointer dereference vulnerability exists in the AMD display driver's\n(DC module) cleanup function dc_destruct().\nWhen display control context (dc->ctx) construction fails\n(due to memory allocation failure), this pointer remains NULL.\nDuring subsequent error handling when dc_destruct() is called,\nthere's no NULL check before dereferencing the perf_trace member\n(dc->ctx->perf_trace), causing a kernel null pointer dereference crash.\n\n[How]\nCheck if dc->ctx is non-NULL before dereferencing.\n\n(Updated commit text and removed unnecessary error message)\n(cherry picked from commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix a Null pointer dereference vulnerability\n\n[Why]\nA null pointer dereference vulnerability exists in the AMD display driver's\n(DC module) cleanup function dc_destruct().\nWhen display control context (dc->ctx) construction fails\n(due to memory allocation failure), this pointer remains NULL.\nDuring subsequent error handling when dc_destruct() is called,\nthere's no NULL check before dereferencing the perf_trace member\n(dc->ctx->perf_trace), causing a kernel null pointer dereference crash.\n\n[How]\nCheck if dc->ctx is non-NULL before dereferencing.\n\n(Updated commit text and removed unnecessary error message)\n(cherry picked from commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amd/display: solucionar una vulnerabilidad de desreferencia de puntero nulo\n\n[Por qué]\nExiste una vulnerabilidad de desreferencia de puntero nulo en la función de limpieza dc_destruct() del controlador de pantalla de AMD (módulo DC).\nCuando la construcción del contexto de control de pantalla (dc->ctx) falla (debido a un fallo en la asignación de memoria), este puntero permanece NULO.\nDurante el manejo de errores posterior, cuando se llama a dc_destruct(), no hay una verificación de NULO antes de desreferenciar el miembro perf_trace (dc->ctx->perf_trace), causando un fallo de desreferencia de puntero nulo del kernel.\n\n[Cómo]\nVerificar si dc->ctx no es NULO antes de desreferenciar.\n\n(Texto del commit actualizado y mensaje de error innecesario eliminado)\n(seleccionado de commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)","source":"nvd"}],"published":"2025-09-05T17:21:11.767Z","modified":"2026-10-30T13:18:08.610Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"dd9699368f37aca4f216857847a46a8a2c289f94","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"0d9f4f202de1522aadc7a827aba0ae92b3d70937","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"0961673cc5f0055957aa46f25eb4ef6c07e00165","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"4ade995b9b25b3c6e8dc42c27070340f1358d8c8","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"1bcf63a44381691d6192872801f830ce3250e367","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dd9699368f37aca4f216857847a46a8a2c289f94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d9f4f202de1522aadc7a827aba0ae92b3d70937","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0961673cc5f0055957aa46f25eb4ef6c07e00165","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ade995b9b25b3c6e8dc42c27070340f1358d8c8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bcf63a44381691d6192872801f830ce3250e367","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39705","url":"https://www.cve.org/CVERecord?id=CVE-2025-39705","licence":"CVE Terms of Use","modified":"2026-10-30T12:22:21.254Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39705","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39705","licence":"Public domain","modified":"2026-10-30T13:18:08.610Z"}],"updatedAt":"2026-11-25T22:59:04.272Z","epss":{"score":0.00218,"percentile":0.13013,"date":"2026-12-02T12:00:21.000Z"}}