CVE-2025-37877

iommu: Clear iommu-dma ops on cleanup

State
Published
Severity
Not scored
Published
May 9, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b5c58b2fdc427e7958412ecb2de2804a1f7c1572 to before b14d98641312d972bb3f38e82eddf92898522389Affected
  • b5c58b2fdc427e7958412ecb2de2804a1f7c1572 to before 104a84276821aed0ed241ce0d82d6c3267e3fcb8Affected
  • b5c58b2fdc427e7958412ecb2de2804a1f7c1572 to before 280e5a30100578106a4305ce0118e0aa9b866f12Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.26 through 6.12.*Not affected
  • 6.14.5 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.