5.5medium
iommu: Clear iommu-dma ops on cleanup
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iommu: Clear iommu-dma ops on cleanup If iommu_device_register() encounters an error, it can end up tearing down already-configured groups and default domains, however this currently still leaves devices hooked up to iommu-dma (and even historically the behaviour in this area was at best inconsistent across architectures/drivers...) Although in the case that an IOMMU is present whose driver has failed to probe, users cannot necessarily expect DMA to work anyway, it's still arguable that we should do our best to put things back as if the IOMMU driver was never there at all, and certainly the potential for crashing in iommu-dma itself is undesirable. Make sure we clean up the dev->dma_iommu flag along with everything else.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b5c58b2fdc427e7958412ecb2de2804a1f7c1572 before b14d98641312d972bb3f38e82eddf92898522389, from b5c58b2fdc427e7958412ecb2de2804a1f7c1572 before 104a84276821aed0ed241ce0d82d6c3267e3fcb8, from b5c58b2fdc427e7958412ecb2de2804a1f7c1572 before 280e5a30100578106a4305ce0118e0aa9b866f12, 6.12 Not affected: before 6.12, from 6.12.26 up to 6.12.*, from 6.14.5 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | before 6.12.26, from 6.13 before 6.14.5, 6.15 | NVD |
Classification
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: iommu: Clear iommu-dma ops on cleanup If iommu_device_register() encounters an error, it can end up tearing down already-configured groups and default domains, however this currently still leaves devices hooked up to iommu-dma (and even historically the behaviour in this area was at best inconsistent across architectures/drivers...) Although in the case that an IOMMU is present whose driver has failed to probe, users cannot necessarily expect DMA to work anyway, it's still arguable that we should do our best to put things back as if the IOMMU driver was never there at all, and certainly the potential for crashing in iommu-dma itself is undesirable. Make sure we clean up the dev->dma_iommu flag along with everything else.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iommu: Clear iommu-dma ops on cleanup Si iommu_device_register() encuentra un error, puede terminar derribando grupos ya configurados y dominios predeterminados, sin embargo, esto actualmente todavía deja dispositivos conectados a iommu-dma (e incluso históricamente el comportamiento en esta área era, en el mejor de los casos, inconsistente entre arquitecturas/controladores...) Aunque en el caso de que haya un IOMMU cuyo controlador no haya podido sondear, los usuarios no necesariamente pueden esperar que DMA funcione de todos modos, todavía se puede argumentar que deberíamos hacer todo lo posible para volver a poner las cosas como si el controlador IOMMU nunca hubiera estado allí, y ciertamente el potencial de bloqueo en iommu-dma en sí mismo es indeseable. Asegúrese de limpiar el indicador dev->dma_iommu junto con todo lo demás.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37877 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2025-37877 changed 2026-11-05 | Public domain |