CVE-2025-21667
JSON

5.5medium

iomap: avoid avoid truncating 64-bit offset to 32 bits

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: iomap: avoid avoid truncating 64-bit offset to 32 bits on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a 32-bit position due to folio_next_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d before 7ca4bd6b754913910151acce00be093f03642725, from f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 before 91371922704c8d82049ef7c2ad974d0a2cd1174d, from f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 before 402ce16421477e27f30b57d6d1a6dc248fa3a4e4, from f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 before c13094b894de289514d84b8db56d1f2931a0bade, from 6.1.92 before 6.1.127, 6.2
Not affected: before 6.2, from 6.1.127 up to 6.1.*, from 6.6.74 up to 6.6.*, from 6.12.11 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelbefore 6.1.127, from 6.2 before 6.6.74, from 6.7 before 6.12.11, 6.13NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-835

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: iomap: avoid avoid truncating 64-bit offset to 32 bits on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a 32-bit position due to folio_next_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iomap: para evitar truncar el desplazamiento de 64 bits a 32 bits en kernels de 32 bits, iomap_write_delalloc_scan() estaba usando inadvertidamente una posición de 32 bits debido a que folio_next_index() devolvía un unsigned long. Esto podría provocar un bucle infinito al escribir en un sistema de archivos xfs.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21667 changed 2026-05-23CVE Terms of Use
NVDCVE-2025-21667 changed 2026-06-17Public domain