{"id":"CVE-2025-21665","aliases":["CVE-2025-21665"],"related":[],"kind":"vulnerability","state":"published","title":"filemap: avoid truncating 64-bit offset to 32 bits","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfilemap: avoid truncating 64-bit offset to 32 bits\n\nOn 32-bit kernels, folio_seek_hole_data() was inadvertently truncating a\n64-bit value to 32 bits, leading to a possible infinite loop when writing\nto an xfs filesystem.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfilemap: avoid truncating 64-bit offset to 32 bits\n\nOn 32-bit kernels, folio_seek_hole_data() was inadvertently truncating a\n64-bit value to 32 bits, leading to a possible infinite loop when writing\nto an xfs filesystem.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: filemap: evitar truncar el desplazamiento de 64 bits a 32 bits. En los kernels de 32 bits, folio_seek_hole_data() truncaba inadvertidamente un valor de 64 bits a 32 bits, lo que provocaba un posible bucle infinito al escribir en un sistema de archivos xfs.","source":"nvd"}],"published":"2025-01-31T11:25:30.468Z","modified":"2026-06-17T08:43:58.003Z","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":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d","fixed":"64e5fd96330df2ad278d1c4edcca581f26e5f76e","status":"affected"},{"type":"git","introduced":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d","fixed":"80fc836f3ebe2f2d2d2c80c698b7667974285a04","status":"affected"},{"type":"git","introduced":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d","fixed":"09528bb1a4123e2a234eac2bc45a0e51e78dab43","status":"affected"},{"type":"git","introduced":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d","fixed":"280f1fb89afc01e7376f59ae611d54ca69e9f967","status":"affected"},{"type":"git","introduced":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d","fixed":"f505e6c91e7a22d10316665a86d79f84d9f0ba76","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.177","lastAffected":"5.15.*","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","introduced":"5.12","fixed":"5.15.177"},{"status":"affected","introduced":"5.16","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"},{"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/64e5fd96330df2ad278d1c4edcca581f26e5f76e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76","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:27.434Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21665","url":"https://www.cve.org/CVERecord?id=CVE-2025-21665","licence":"CVE Terms of Use","modified":"2026-05-11T21:04:04.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21665","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21665","licence":"Public domain","modified":"2026-06-17T08:43:58.003Z"}],"updatedAt":"2026-11-25T22:58:53.709Z","epss":{"score":0.00297,"percentile":0.14704,"date":"2026-11-30T12:00:22.000Z"}}