{"id":"CVE-2025-38688","aliases":["CVE-2025-38688"],"related":[],"kind":"vulnerability","state":"published","title":"iommufd: Prevent ALIGN() overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niommufd: Prevenir desbordamiento de ALIGN()\n\nAl asignar IOVA, el rango candidato se alinea con la alineación objetivo. Si el rango está cerca de ULONG_MAX, entonces ALIGN() puede envolver, resultando en un iova corrupto.\n\nCodificar abiertamente ALIGN() usando get_add_overflow() para prevenir esto. Esto simplifica las comprobaciones, ya que tampoco necesitamos comprobar la longitud antes.\n\nConsolidar las dos copias de este código bajo una única función auxiliar.\n\nEste error permitiría al espacio de usuario crear una asignación que se superpone con alguna otra asignación o un rango reservado.","source":"nvd"}],"published":"2025-09-04T15:32:42.607Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","fixed":"d19b817540c0abe84854a64ee9ee34cecc3bbeef","status":"affected"},{"type":"git","introduced":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","fixed":"ebb6021560b94649bec6b8faba6fe0dca2218e81","status":"affected"},{"type":"git","introduced":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","fixed":"e42a046bb41dcdde4f766a17d8211842007ed537","status":"affected"},{"type":"git","introduced":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","fixed":"79fad1917802c28de51a479318a056a6fbe3e2f2","status":"affected"},{"type":"git","introduced":"51fe6141f0f64ae0bbc096a41a07572273e8c0ef","fixed":"b42497e3c0e74db061eafad41c0cd7243c46436b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.43","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.11","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.2","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.43"},{"status":"affected","introduced":"6.13","fixed":"6.15.11"},{"status":"affected","introduced":"6.16","fixed":"6.16.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d19b817540c0abe84854a64ee9ee34cecc3bbeef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebb6021560b94649bec6b8faba6fe0dca2218e81","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e42a046bb41dcdde4f766a17d8211842007ed537","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79fad1917802c28de51a479318a056a6fbe3e2f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b42497e3c0e74db061eafad41c0cd7243c46436b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:52:48.832Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38688","url":"https://www.cve.org/CVERecord?id=CVE-2025-38688","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:28.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38688","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38688","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.135Z","epss":{"score":0.00187,"percentile":0.08659,"date":"2026-12-01T12:00:22.000Z"}}