CVE-2025-68794

In the Linux kernel, the following vulnerability has been resolved: iomap: adjust read range correctly for non-block-aligned positions iomap_adjust_read_range() assumes that the position and length passed in are block-aligned. This is not always the case however, as shown in the syzbot generated case for erofs. This causes too many bytes to be skipped for uptodate blocks, which results in returning the incorrect position and length to read in. If all the blocks are uptodate, this underflows length and returns a position beyond the folio. Fix the calculation to also take into account the block offset when calculating how many bytes can be skipped for uptodate blocks.
Configurations

No configuration.

History

19 Oct 2026, 19:17

Type Values Removed Values Added
CWE CWE-190

27 Aug 2026, 13:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/275b37a1e5c2c8abd313e8075f6aec9a349f291b -
  • () https://git.kernel.org/stable/c/b8c9f25fd84328c5fcc4f70c6d1e8f1d4787eaac -
  • () https://git.kernel.org/stable/c/ce20f49ac9194cf81a77f01d1c316d7c17ae753c -

30 Jul 2026, 06:24

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

15 Apr 2026, 00:35

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iomap: ajustar el rango de lectura correctamente para posiciones no alineadas a bloques iomap_adjust_read_range() asume que la posición y la longitud pasadas están alineadas a bloques. Sin embargo, este no siempre es el caso, como se muestra en el caso generado por syzbot para erofs. Esto causa que se salten demasiados bytes para bloques actualizados, lo que resulta en la devolución de una posición y longitud incorrectas para leer. Si todos los bloques están actualizados, esto provoca un desbordamiento negativo de la longitud y devuelve una posición más allá del folio. Corregir el cálculo para también tener en cuenta el desplazamiento del bloque al calcular cuántos bytes pueden ser saltados para bloques actualizados.

13 Jan 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-13 16:16

Updated : 2026-10-19 19:17


NVD link : CVE-2025-68794

Mitre link : CVE-2025-68794

CVE.ORG link : CVE-2025-68794


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound