CVE-2025-38369

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using Running IDXD workloads in a container with the /dev directory mounted can trigger a call trace or even a kernel panic when the parent process of the container is terminated. This issue occurs because, under certain configurations, Docker does not properly propagate the mount replica back to the original mount point. In this case, when the user driver detaches, the WQ is destroyed but it still calls destroy_workqueue() attempting to completes all pending work. It's necessary to check wq->wq and skip the drain if it no longer exists.
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

18 Nov 2025, 19:27

Type Values Removed Values Added
CWE CWE-416
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: idxd: Comprobar la disponibilidad de la cola de trabajo asignada por el controlador wq de idxd antes de usarla. Ejecutar cargas de trabajo IDXD en un contenedor con el directorio /dev montado puede provocar un seguimiento de llamadas o incluso un pánico del kernel cuando finaliza el proceso principal del contenedor. Este problema se produce porque, en ciertas configuraciones, Docker no propaga correctamente la réplica de montaje al punto de montaje original. En este caso, al desconectarse el controlador de usuario, la cola de trabajo se destruye, pero sigue llamando a destroy_workqueue() para intentar completar todo el trabajo pendiente. Es necesario comprobar wq->wq y omitir el vaciado si ya no existe.
References () https://git.kernel.org/stable/c/17502e7d7b7113346296f6758324798d536c31fd - () https://git.kernel.org/stable/c/17502e7d7b7113346296f6758324798d536c31fd - Patch
References () https://git.kernel.org/stable/c/98fd66c8ba77e3a7137575f610271014bc0e701f - () https://git.kernel.org/stable/c/98fd66c8ba77e3a7137575f610271014bc0e701f - Patch
References () https://git.kernel.org/stable/c/aee7a7439f8c0884da87694a401930204a57128f - () https://git.kernel.org/stable/c/aee7a7439f8c0884da87694a401930204a57128f - Patch
References () https://git.kernel.org/stable/c/e0051a3daa8b2cb318b03b2f9317c3e40855847a - () https://git.kernel.org/stable/c/e0051a3daa8b2cb318b03b2f9317c3e40855847a - Patch

25 Jul 2025, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-25 13:15

Updated : 2025-11-18 19:27


NVD link : CVE-2025-38369

Mitre link : CVE-2025-38369

CVE.ORG link : CVE-2025-38369


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free