What’s Vulnerable › Vulnerabilities

CVE-2025-21665: filemap: avoid truncating 64-bit offset to 32 bits

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.177, 6.1.127, 6.12.11, 6.6.74. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21665 or the next vulnerability affects your stack