{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38688","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:24.032Z","datePublished":"2025-09-04T15:32:42.607Z","dateUpdated":"2026-05-11T21:33:03.840Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:33:03.840Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Prevent ALIGN() overflow\n\nWhen allocating IOVA the candidate range gets aligned to the target\nalignment. If the range is close to ULONG_MAX then the ALIGN() can\nwrap resulting in a corrupted iova.\n\nOpen code the ALIGN() using get_add_overflow() to prevent this.\nThis simplifies the checks as we don't need to check for length earlier\neither.\n\nConsolidate the two copies of this code under a single helper.\n\nThis bug would allow userspace to create a mapping that overlaps with some\nother mapping or a reserved range."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/io_pagetable.c"],"versions":[{"version":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","lessThan":"d19b817540c0abe84854a64ee9ee34cecc3bbeef","status":"affected","versionType":"git"},{"version":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","lessThan":"ebb6021560b94649bec6b8faba6fe0dca2218e81","status":"affected","versionType":"git"},{"version":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","lessThan":"e42a046bb41dcdde4f766a17d8211842007ed537","status":"affected","versionType":"git"},{"version":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","lessThan":"79fad1917802c28de51a479318a056a6fbe3e2f2","status":"affected","versionType":"git"},{"version":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","lessThan":"b42497e3c0e74db061eafad41c0cd7243c46436b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/io_pagetable.c"],"versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.43","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.11","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.2","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.43"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.15.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.16.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.17"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d19b817540c0abe84854a64ee9ee34cecc3bbeef"},{"url":"https://git.kernel.org/stable/c/ebb6021560b94649bec6b8faba6fe0dca2218e81"},{"url":"https://git.kernel.org/stable/c/e42a046bb41dcdde4f766a17d8211842007ed537"},{"url":"https://git.kernel.org/stable/c/79fad1917802c28de51a479318a056a6fbe3e2f2"},{"url":"https://git.kernel.org/stable/c/b42497e3c0e74db061eafad41c0cd7243c46436b"}],"title":"iommufd: Prevent ALIGN() overflow","x_generator":{"engine":"bippy-1.2.0"}}}}