CVE-2025-21665Published Jan 31, 2025 · Jan 31Updated Oct 28
filemap: avoid truncating 64-bit offset to 32 bits
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
On 32-bit Linux kernels, folio_seek_hole_data() can truncate a 64-bit offset to 32 bits. This can cause an infinite loop when writing to an XFS filesystem. The input does not specify authentication requirements or whether further user interaction is needed.
Operators of 32-bit Linux kernels that write to XFS filesystems should check their installations; affected versions are not specified.