CVE-2025-21667

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

MEDIUM
5.5
CVSS Score
Published: January 31, 2025 at 11:25 AM UTC
Updated: June 17, 2026 at 08:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1276.1.92 ≤ v < 6.1.1276.2 ≤ v < 6.12.116.2 ≤ v < 6.136.2 ≤ v < 6.6.746.7 ≤ v < 6.12.1138be53c3fd7f4f4bd5de319a323d72f9f6beb16d6.1.926.13 rc16.13 rc26.13 rc36.13 rc46.13 rc56.13 rc6f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78
Vendor states this is fixed in 402ce16421477e27f30b57d6d1a6dc248fa3a4e4 (fixed)
Vendor states this is fixed in 7ca4bd6b754913910151acce00be093f03642725 (fixed)
Vendor states this is fixed in 91371922704c8d82049ef7c2ad974d0a2cd1174d (fixed)
Vendor states this is fixed in c13094b894de289514d84b8db56d1f2931a0bade (fixed)
Vendor states this is fixed in 6.1.127 (unaffected)
Vendor states this is fixed in 6.12.11 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.74 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/402ce16421477e27f30b57d6d1a6dc248fa3a4e4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ca4bd6b754913910151acce00be093f03642725
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/91371922704c8d82049ef7c2ad974d0a2cd1174d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c13094b894de289514d84b8db56d1f2931a0bade
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-835

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card