CVE-2025-21665: Linux kernel · filemap: avoid truncating 64-bit offset to 32 bits
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 01:08 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to address this issue. Users running 32-bit Linux kernels should update to the fixed kernel version once available. No additional mitigation steps are indicated.
Description
CVE-2025-21665 is a vulnerability in the Linux kernel where a 64-bit offset was truncated to 32 bits on 32-bit kernels in the function folio_seek_hole_data(). This truncation could cause an infinite loop when writing to an xfs filesystem. The issue has been resolved in the Linux kernel.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21665 (opens in a new tab)
- git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43 (opens in a new tab)
- git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967 (opens in a new tab)
- git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e (opens in a new tab)
- git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04 (opens in a new tab)
- git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)