{"id":"CVE-2025-21665","summary":"filemap: avoid truncating 64-bit offset to 32 bits","details":"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.","modified":"2026-04-02T12:35:19.541030Z","published":"2025-01-31T11:25:30.468Z","related":["SUSE-SU-2025:0564-1","SUSE-SU-2025:0847-1","SUSE-SU-2025:0856-1","SUSE-SU-2025:0955-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21665.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43"},{"type":"WEB","url":"https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967"},{"type":"WEB","url":"https://git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21665.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21665"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d"},{"fixed":"64e5fd96330df2ad278d1c4edcca581f26e5f76e"},{"fixed":"80fc836f3ebe2f2d2d2c80c698b7667974285a04"},{"fixed":"09528bb1a4123e2a234eac2bc45a0e51e78dab43"},{"fixed":"280f1fb89afc01e7376f59ae611d54ca69e9f967"},{"fixed":"f505e6c91e7a22d10316665a86d79f84d9f0ba76"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21665.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}