Skip to content

CVE-2025-37877 iommu: Clear iommu-dma ops on cleanup

MediumCVSS 5.5 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelDebian

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.

Upgrade path

6 packages: 3 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
azure linux kernel(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner kernel(CBL-Mariner 2.0) All versions No fix listed No fix yet
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed No fix yet
debian/linux(Debian 13) < 6.12.27-1 6.12.27-1 Fixed
debian/linux(Debian 14) < 6.12.27-1 6.12.27-1 Fixed
Linux kernel < 6.12.26; < 6.14.5; < 6.15; = 6.12 +5 more 6.12.26, 6.14.5, 6.15, 104a84276821aed0ed241ce0d82d6c3267e3fcb8, 280e5a30100578106a4305ce0118e0aa9b866f12, b14d98641312d972bb3f38e82eddf92898522389 Fixed

Affected products

ProductAffected versionsFixed in
azure linux kernel(Azure Linux:3.0) All versions No fix listed
cbl-mariner kernel(CBL-Mariner:2.0) All versions No fix listed
Microsoft cbl2 kernel 5.15.202.1-1 All versions No fix listed
debian/linux(Debian:13) < 6.12.27-1 6.12.27-1
debian/linux(Debian:14) < 6.12.27-1 6.12.27-1
Linux kernel >= b5c58b2fdc427e7958412ecb2de2804a1f7c1572, < b14d98641312d972bb3f38e82eddf92898522389 b14d98641312d972bb3f38e82eddf92898522389
Linux kernel >= b5c58b2fdc427e7958412ecb2de2804a1f7c1572, < 104a84276821aed0ed241ce0d82d6c3267e3fcb8 104a84276821aed0ed241ce0d82d6c3267e3fcb8
Linux kernel >= b5c58b2fdc427e7958412ecb2de2804a1f7c1572, < 280e5a30100578106a4305ce0118e0aa9b866f12 280e5a30100578106a4305ce0118e0aa9b866f12
Linux kernel = 6.12 No fix listed
Linux kernel < 6.12.26 6.12.26
Linux kernel < 6.14.5 6.14.5
Linux kernel < 6.15 6.15
Linux kernel >= 6.13, < 6.14.5 6.14.5
Linux kernel = 6.15-rc1 No fix listed

References