CVE-2025-37877

iommu: Clear iommu-dma ops on cleanup

MEDIUM
5.5
CVSS Score
Published: May 9, 2025 at 06:45 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.12.266.12 ≤ v < 6.12.266.12 ≤ v < 6.14.56.12 ≤ v < 6.156.13 ≤ v < 6.14.56.126.15 rc1b5c58b2fdc427e7958412ecb2de2804a1f7c1572
Vendor states this is fixed in 104a84276821aed0ed241ce0d82d6c3267e3fcb8 (fixed)
Vendor states this is fixed in 280e5a30100578106a4305ce0118e0aa9b866f12 (fixed)
Vendor states this is fixed in b14d98641312d972bb3f38e82eddf92898522389 (fixed)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.12.26 (unaffected)
Vendor states this is fixed in 6.14.5 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/104a84276821aed0ed241ce0d82d6c3267e3fcb8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/280e5a30100578106a4305ce0118e0aa9b866f12
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b14d98641312d972bb3f38e82eddf92898522389

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card