CVE-2025-38688

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iommufd: Prevenir desbordamiento de ALIGN() Al 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. Codificar abiertamente ALIGN() usando get_add_overflow() para prevenir esto. Esto simplifica las comprobaciones, ya que tampoco necesitamos comprobar la longitud antes. Consolidar las dos copias de este código bajo una única función auxiliar. Este error permitiría al espacio de usuario crear una asignación que se superpone con alguna otra asignación o un rango reservado.

Information

Published : 2025-09-04 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-38688

Mitre link : CVE-2025-38688

CVE.ORG link : CVE-2025-38688


JSON object : View

Products Affected

linux

  • linux_kernel