CVE-2025-38703

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Make dma-fences compliant with the safe access rules Xe can free some of the data pointed to by the dma-fences it exports. Most notably the timeline name can get freed if userspace closes the associated submit queue. At the same time the fence could have been exported to a third party (for example a sync_fence fd) which will then cause an use- after-free on subsequent access. To make this safe we need to make the driver compliant with the newly documented dma-fence rules. Driver has to ensure a RCU grace period between signalling a fence and freeing any data pointed to by said fence. For the timeline name we simply make the queue be freed via kfree_rcu and for the shared lock associated with multiple queues we add a RCU grace period before freeing the per GT structure holding the lock.
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:*:*:*:*:*:*:*:*

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/xe: Hacer que las dma-fences cumplan con las reglas de acceso seguro Xe puede liberar algunos de los datos a los que apuntan las dma-fences que exporta. En particular, el nombre de la línea de tiempo puede ser liberado si el espacio de usuario cierra la cola de envío asociada. Al mismo tiempo, la fence podría haber sido exportada a un tercero (por ejemplo, un fd de sync_fence) lo que luego causará un use-after-free en accesos posteriores. Para que esto sea seguro, necesitamos hacer que el controlador cumpla con las reglas de dma-fence recientemente documentadas. El controlador debe asegurar un período de gracia RCU entre la señalización de una fence y la liberación de cualquier dato al que apunte dicha fence. Para el nombre de la línea de tiempo, simplemente hacemos que la cola sea liberada a través de kfree_rcu y para el bloqueo compartido asociado con múltiples colas, añadimos un período de gracia RCU antes de liberar la estructura por GT que contiene el bloqueo.

Information

Published : 2025-09-04 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-38703

Mitre link : CVE-2025-38703

CVE.ORG link : CVE-2025-38703


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free