CVE-2025-21667

published 31 Jan 2025 · updated 17 Nov 2026

iomap: avoid avoid truncating 64-bit offset to 32 bits

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c13094b894de289514d84b8db56d1f2931a0bade, Kernel 6.1.127, Kernel 402ce16421477e27f30b57d6d1a6dc248fa3a4e4 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 <c13094b894de289514d84b8db56d1f2931a0bade, >=6.1.92 <6.1.127, >=f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 <402ce16421477e27f30b57d6d1a6dc248fa3a4e4, >=f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 <91371922704c8d82049ef7c2ad974d0a2cd1174d, =6.2, >=38be53c3fd7f4f4bd5de319a323d72f9f6beb16d <7ca4bd6b754913910151acce00be093f03642725c13094b894de289514d84b8db56d1f2931a0bade, 6.1.127, 402ce16421477e27f30b57d6d1a6dc248fa3a4e4, 91371922704c8d82049ef7c2ad974d0a2cd1174d, 7ca4bd6b754913910151acce00be093f03642725
linux-kernel: Kernel>=6.2.0 <6.6.74, >=6.7.0 <6.12.11, >=6.1.92 <6.1.1276.6.74, 6.12.11, 6.1.127

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21667 severity on Zeptric[![CVE-2025-21667](https://zeptric.io/badge/cve/CVE-2025-21667.svg)](https://zeptric.io/cve/CVE-2025-21667)