Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38688

published high CVSS 3.1 · 8.8

iommufd: Prevent ALIGN() overflow

Published
04 Sep 2025, 15:32:42 UTC
Updated
15 Oct 2026, 22:02:28 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < d19b817540c0abe84854a64ee9ee34cecc3bbeef · 51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < ebb6021560b94649bec6b8faba6fe0dca2218e81 · 51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < e42a046bb41dcdde4f766a17d8211842007ed537 · 51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < 79fad1917802c28de51a479318a056a6fbe3e2f2 · 51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < b42497e3c0e74db061eafad41c0cd7243c46436b · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.6.103 through 6.6.* (unaffected · semver) · 6.12.43 through 6.12.* (unaffected · semver) · 6.15.11 through 6.15.* (unaffected · semver) · 6.16.2 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el10uek ELSA-2025-20662
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662
Oracle Linux 9 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-104.43.4.2.el9uek ELSA-2025-20662

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable allocator is reached only through ioctl() on an iommufd character device (/dev/iommu, or /dev/vfio/vfio which shares iommufd_fops), requiring local system access. There is no network-facing path to iopt_alloc_iova(). AC:L - The overflow is deterministic integer arithmetic on fully attacker-chosen inputs — user_va controls iova_alignment via __ffs64(), length controls roundup_pow_of_two(), and IOMMU_IOAS_MAP_FIXED_IOVA/IOMMU_IOAS_ALLOW_IOVAS let the attacker place a span at the top of the address space. No race, no memory-layout luck; syzbot produced a reproducer. PR:L - Any local user holding an iommufd fd can drive IOMMU_IOAS_ALLOC and IOMMU_IOAS_MAP; iommufd_fops_ioctl() dispatches the entire native ioctl table with no capable() gate, and main.c registers /dev/vfio/vfio with mode 0666 using the same fops. No root or real capability is required. UI:N - The attacker performs the entire sequence of ioctls itself against its own iommufd context. No victim action or cooperation is needed. S:C - The corrupted IOVA lets userspace install a mapping overlapping iopt->reserved_itree entries (IOMMU_RESV_MSI doorbells, IOMMU_RESV_SW_MSI, RMRR/IOMMU_RESV_DIRECT) — precisely the ranges that enforce the IOMMU/DMA protection boundary — and to place mappings outside the VMM-declared allowed IOVA set. Device DMA thereby reaches host resources outside the iommufd context's security authority, a DMA/IOMMU boundary bypass. C:H - The bogus IOVA yields a mapping covering memory the caller was never granted, and the resulting divergence between IOMMU page tables and pinned-page accounting can leave device-readable PTEs on freed and reallocated pages, giving an attacker-programmed DMA engine an arbitrary kernel-memory read primitive. I:H - The same overlapping mapping is writable, so device DMA can modify memory outside the sanctioned region — including reserved ranges and pages the kernel has freed and handed to other subsystems — and the overlapping area_itree entries corrupt iommufd's own mapping state, yielding an arbitrary write usable for control-flow hijack. A:H - Overlapping iommu_map() trips WARN_ON plus -EEXIST in arm_lpae_init_pte(), and the mismatched teardown trips WARN_ON(ret != size) in iommu_unmap_nofail(), producing kernel splats (panic under panic_on_warn); DMA into freed pages and unhandled IOMMU faults crash the system outright.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < d19b817540c0abe84854a64ee9ee34cecc3bbeef (affected · git)51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < ebb6021560b94649bec6b8faba6fe0dca2218e81 (affected · git)51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < e42a046bb41dcdde4f766a17d8211842007ed537 (affected · git)51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < 79fad1917802c28de51a479318a056a6fbe3e2f2 (affected · git)51fe6141f0f64ae0bbc096a41a07572273e8c0ef to < b42497e3c0e74db061eafad41c0cd7243c46436b (affected · git)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.6.103 through 6.6.* (unaffected · semver)6.12.43 through 6.12.* (unaffected · semver)6.15.11 through 6.15.* (unaffected · semver)6.16.2 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

iommufd: Prevent ALIGN() overflow

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1482b33b7380d2dbe8de87d7593b97adaba55016cc374b1dc3662e85d11cf82d
Ingested
15 Oct 2026, 23:26:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected