CVE-2025-21667Published Jan 31, 2025 · Jan 31Updated 2d ago
iomap: avoid avoid truncating 64-bit offset to 32 bits
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iomap: avoid avoid truncating 64-bit offset to 32 bits
on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a 32-bit position due to folio_next_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.
From the CVE record · Linux
On 32-bit Linux kernels, iomap_write_delalloc_scan() can truncate a 64-bit offset to 32 bits. A write to an XFS filesystem can then cause an infinite loop; the input does not specify an attack route, authentication requirements, or user interaction.
Operators of 32-bit Linux kernels that write to XFS filesystems should check their systems; affected versions are not specified.