CVE-2025-37877

MEDIUM

Linux Kernel - Use-After-Free in IOMMU Device Registration Cleanup

Title source: llm
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0023
EPSS Percentile 13.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (12)
linux/Kernel 6.12.0 - 6.12.26linux
linux/Kernel 6.13.0 - 6.14.5linux
Linux/Linux < 6.12
Linux/Linux 6.12
Linux/Linux 6.12.26 - 6.12.*
Linux/Linux 6.14.5 - 6.14.*
Linux/Linux 6.15
Linux/Linux b5c58b2fdc427e7958412ecb2de2804a1f7c1572 - 104a84276821aed0ed241ce0d82d6c3267e3fcb8
Linux/Linux b5c58b2fdc427e7958412ecb2de2804a1f7c1572 - 280e5a30100578106a4305ce0118e0aa9b866f12
Linux/Linux b5c58b2fdc427e7958412ecb2de2804a1f7c1572 - b14d98641312d972bb3f38e82eddf92898522389
... and 2 more
Published May 09, 2025
Tracked Since Feb 18, 2026