CVE Catalog

CVE-2025-38688

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the iommufd subsystem in the Linux kernel, a vulnerability allows overflow during IOVA range alignment using the ALIGN() macro, potentially causing value wrap and creating overlapping mappings.

Risk Assessment

A user-space attacker can exploit this vulnerability to create a memory mapping that overlaps with another mapping or reserved range, potentially leading to data integrity issues or privilege escalation.

Recommendation

Apply the Linux kernel patch that replaces the ALIGN() macro with safe code using get_add_overflow() to prevent overflow.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: iommufd: Prevent ALIGN() overflow When allocating IOVA the candidate range gets aligned to the target alignment. If the range is close to ULONG_MAX then the ALIGN() can wrap resulting in a corrupted iova. Open code the ALIGN() using get_add_overflow() to prevent this. This simplifies the checks as we don't need to check for length earlier either. Consolidate the two copies of this code under a single helper. This bug would allow userspace to create a mapping that overlaps with some other mapping or a reserved range.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS