{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38688","id":"CVE-2025-38688","title":"iommufd: Prevent ALIGN() overflow","description":"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 len","descriptionLong":"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.","published":"2025-09-04T15:32:42.607Z","updated":"2026-11-15T17:27:43.720963086Z","reserved":"2025-04-16T04:51:24.032Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d19b817540c0abe84854a64ee9ee34cecc3bbeef","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ebb6021560b94649bec6b8faba6fe0dca2218e81","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e42a046bb41dcdde4f766a17d8211842007ed537","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/79fad1917802c28de51a479318a056a6fbe3e2f2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b42497e3c0e74db061eafad41c0cd7243c46436b","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38688.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38688","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00176,"epssPercentile":0.07219,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38688","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38688","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38688","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38688","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}