7.8

CVE-2025-38062: debian debian_linux

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2025-38062DEBIAN-CVE-2025-38062
Published 18-06-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-38062 is a high (CVSS 7.8) vulnerability in debian debian_linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.1% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 41 · Related 39

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: genirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie The IOMMU translation for MSI message addresses has been a 2-step process, separated in time: 1) iommu_dma_prepare_msi(): A cookie pointer containing the IOVA address is stored in the MSI descriptor when an MSI interrupt is allocated. 2) iommu_dma_compose_msi_msg(): this cookie pointer is used to compute a translated message address. This has an inherent lifetime problem for the pointer stored in the cookie that must remain valid between the two steps. However, there is no locking at the irq layer that helps protect the lifetime. Today, this works under the assumption that the iommu domain is not changed while MSI interrupts being programmed. This is true for normal DMA API users within the kernel, as the iommu domain is attached before the driver is probed and cannot be changed while a driver is attached. Classic VFIO type1 also prevented changing the iommu domain while VFIO was running as it does not support changing the "container" after starting up. However, iommufd has improved this so that the iommu domain can be changed during VFIO operation. This potentially allows userspace to directly race VFIO_DEVICE_ATTACH_IOMMUFD_PT (which calls iommu_attach_group()) and VFIO_DEVICE_SET_IRQS (which calls into iommu_dma_compose_msi_msg()). This potentially causes both the cookie pointer and the unlocked call to iommu_get_domain_for_dev() on the MSI translation path to become UAFs. Fix the MSI cookie UAF by removing the cookie pointer. The translated IOVA address is already known during iommu_dma_prepare_msi() and cannot change. Thus, it can simply be stored as an integer in the MSI descriptor. The other UAF related to iommu_get_domain_for_dev() will be addressed in patch "iommu: Make iommu_dma_prepare_msi() into a generic operation" by using the IOMMU group mutex.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

0.00 pp

From 0.19% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Ubuntu142 products
  • linuxAll versions (No fix recorded) | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ ece6e6f0218b7777e650bf93728130ae6f4feb7d, < e4d3763223c7b72ded53425207075e7453b4e3d5 | ≥ ece6e6f0218b7777e650bf93728130ae6f4feb7d, < ba41e4e627db51d914444aee0b93eb67f31fa330 | ≥ ece6e6f0218b7777e650bf93728130ae6f4feb7d, < 53f42776e435f63e5f8e61955e4c205dbfeaf524 | ≥ ece6e6f0218b7777e650bf93728130ae6f4feb7d, < 856152eb91e67858a09e30a7149a1f29b04b7384 | ≥ ece6e6f0218b7777e650bf93728130ae6f4feb7d, < 1f7df3a691740a7736bbc99dc4ed536120eb4746 | 5.2
  • linux_kernel≥ 5.2, < 6.1.141 | ≥ 6.2, < 6.6.93 | ≥ 6.7, < 6.12.31 | ≥ 6.13, < 6.14.9

3 vendors · 146 products

References

34 links
Show all 34 references