{"id":"CVE-2025-21667","aliases":["CVE-2025-21667"],"related":[],"kind":"vulnerability","state":"published","title":"iomap: avoid avoid truncating 64-bit offset to 32 bits","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: avoid avoid truncating 64-bit offset to 32 bits\n\non 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a\n32-bit position due to folio_next_index() returning an unsigned long.\nThis could lead to an infinite loop when writing to an xfs filesystem.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: avoid avoid truncating 64-bit offset to 32 bits\n\non 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a\n32-bit position due to folio_next_index() returning an unsigned long.\nThis could lead to an infinite loop when writing to an xfs filesystem.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-01-31T11:25:31.792Z","modified":"2026-06-17T08:43:58.347Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"git","introduced":"38be53c3fd7f4f4bd5de319a323d72f9f6beb16d","fixed":"7ca4bd6b754913910151acce00be093f03642725","status":"affected"},{"type":"git","introduced":"f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78","fixed":"91371922704c8d82049ef7c2ad974d0a2cd1174d","status":"affected"},{"type":"git","introduced":"f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78","fixed":"402ce16421477e27f30b57d6d1a6dc248fa3a4e4","status":"affected"},{"type":"git","introduced":"f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78","fixed":"c13094b894de289514d84b8db56d1f2931a0bade","status":"affected"},{"type":"semver","introduced":"6.1.92","fixed":"6.1.127","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.1.127","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.74","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.11","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","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","fixed":"6.1.127"},{"status":"affected","introduced":"6.2","fixed":"6.6.74"},{"status":"affected","introduced":"6.7","fixed":"6.12.11"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7ca4bd6b754913910151acce00be093f03642725","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91371922704c8d82049ef7c2ad974d0a2cd1174d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/402ce16421477e27f30b57d6d1a6dc248fa3a4e4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c13094b894de289514d84b8db56d1f2931a0bade","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:52:21.085Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21667","url":"https://www.cve.org/CVERecord?id=CVE-2025-21667","licence":"CVE Terms of Use","modified":"2026-05-23T15:56:50.659Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21667","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21667","licence":"Public domain","modified":"2026-06-17T08:43:58.347Z"}],"updatedAt":"2026-11-25T22:58:53.710Z","epss":{"score":0.00218,"percentile":0.13002,"date":"2026-12-01T12:00:22.000Z"}}