5.5medium
filemap: avoid truncating 64-bit offset to 32 bits
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.30% (higher than 15% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: filemap: avoid truncating 64-bit offset to 32 bits On 32-bit kernels, folio_seek_hole_data() was inadvertently truncating a 64-bit value to 32 bits, leading to a possible infinite loop when writing to an xfs filesystem.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d before 64e5fd96330df2ad278d1c4edcca581f26e5f76e, from 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d before 80fc836f3ebe2f2d2d2c80c698b7667974285a04, from 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d before 09528bb1a4123e2a234eac2bc45a0e51e78dab43, from 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d before 280f1fb89afc01e7376f59ae611d54ca69e9f967, from 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d before f505e6c91e7a22d10316665a86d79f84d9f0ba76, 5.12 Not affected: before 5.12, from 5.15.177 up to 5.15.*, 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_kernel | from 5.12 before 5.15.177, from 5.16 before 6.1.127, from 6.2 before 6.6.74, from 6.7 before 6.12.11, 6.13 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
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: filemap: avoid truncating 64-bit offset to 32 bits On 32-bit kernels, folio_seek_hole_data() was inadvertently truncating a 64-bit value to 32 bits, leading to a possible infinite loop when writing to an xfs filesystem.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21665 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21665 changed 2026-06-17 | Public domain |