CVE-2025-21665
XFS Filesystem Linux Kernel File Truncation Vulnerability
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.
INFO
Published Date :
Jan. 31, 2025, 12:15 p.m.
Last Modified :
Feb. 3, 2025, 7:57 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2025-21665 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21665
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
DSA and DLA for Debian last 14 days
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21665
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21665
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-835 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12 up to (excluding) 5.15.177 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.127 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.74 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.11 *cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43 No Types Assigned https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43 Patch Changed Reference Type https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967 No Types Assigned https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967 Patch Changed Reference Type https://git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e No Types Assigned https://git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e Patch Changed Reference Type https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04 No Types Assigned https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04 Patch Changed Reference Type https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76 No Types Assigned https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76 Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 31, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43 Added Reference https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967 Added Reference https://git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e Added Reference https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04 Added Reference https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21665
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21665
weaknesses.