CVE-2025-39882

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix potential OF node use-after-free The for_each_child_of_node() helper drops the reference it takes to each node as it iterates over children and an explicit of_node_put() is only needed when exiting the loop early. Drop the recently introduced bogus additional reference count decrement at each iteration that could potentially lead to a use-after-free.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/mediatek: corrige potencial uso después de liberación de nodo OF La función auxiliar for_each_child_of_node() libera la referencia que toma a cada nodo mientras itera sobre los hijos y una llamada explícita a of_node_put() solo es necesaria al salir del bucle prematuramente. Eliminar el recientemente introducido decremento adicional erróneo del contador de referencias en cada iteración que podría conducir potencialmente a un uso después de liberación.

Information

Published : 2025-09-23 06:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39882

Mitre link : CVE-2025-39882

CVE.ORG link : CVE-2025-39882


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free