CVE-2025-38369
JSON

7.8high

dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before e0051a3daa8b2cb318b03b2f9317c3e40855847a, from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before 98fd66c8ba77e3a7137575f610271014bc0e701f, from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before aee7a7439f8c0884da87694a401930204a57128f, from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before 17502e7d7b7113346296f6758324798d536c31fd, 5.6
Not affected: before 5.6, from 6.6.96 up to 6.6.*, from 6.12.36 up to 6.12.*, from 6.15.5 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 5.6 before 6.6.96, from 6.7 before 6.12.36, from 6.13 before 6.15.5NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (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

Sources

SourceRecordLicence
CVE ListCVE-2025-38369 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-38369 changed 2026-11-05Public domain