CVE-2025-39705

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)
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

30 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/dd9699368f37aca4f216857847a46a8a2c289f94 -

21 Oct 2026, 13:18

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/0d9f4f202de1522aadc7a827aba0ae92b3d70937 -

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amd/display: solucionar una vulnerabilidad de desreferencia de puntero nulo [Por qué] Existe una vulnerabilidad de desreferencia de puntero nulo en la función de limpieza dc_destruct() del controlador de pantalla de AMD (módulo DC). Cuando 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. Durante 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. [Cómo] Verificar si dc->ctx no es NULO antes de desreferenciar. (Texto del commit actualizado y mensaje de error innecesario eliminado) (seleccionado de commit 9dd8e2ba268c636c240a918e0a31e6feaee19404)

Information

Published : 2025-09-05 18:15

Updated : 2026-10-30 13:18


NVD link : CVE-2025-39705

Mitre link : CVE-2025-39705

CVE.ORG link : CVE-2025-39705


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference