VDB

CVE-2025-21667

CVE-2025-21667 PUBLISHED CVSS 5.5 MEDIUM

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

Reported by linux · Published January 31, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.13, 6.12.11, 6.6.74, 6.1.127
LinuxLinuxc13094b894de289514d84b8db56d1f2931a0bade, 91371922704c8d82049ef7c2ad974d0a2cd1174d, 6.2, 6.1.127

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78, f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78
LinuxLinux6.2, 0, 6.1.127
linuxlinux_kernel6.2, 6.2, 6.2
LinuxLinux*, 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d, 6.2

Timeline

  • Jan 30, 2025 CVE Published
  • Feb 1, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 4, 2025 Coalition ESS Score (20 in total, the first dated here)
  • Dec 22, 2025 Security Advisory (73 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (67 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21667
vulnetix vdb fixes CVE-2025-21667

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21667/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›