CVE-2025-21665

filemap: 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: 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.

Affected

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

5.12 ≤ v < 5.15.1775.12 ≤ v < 6.1.1275.12 ≤ v < 6.12.115.12 ≤ v < 6.135.12 ≤ v < 6.6.745.16 ≤ v < 6.1.1276.2 ≤ v < 6.6.746.7 ≤ v < 6.12.1154fa39ac2e00b1b8c2a7fe72e648773ffa48f76d6.13 rc16.13 rc26.13 rc36.13 rc46.13 rc56.13 rc66.13 rc7
Vendor states this is fixed in 09528bb1a4123e2a234eac2bc45a0e51e78dab43 (fixed)
Vendor states this is fixed in 280f1fb89afc01e7376f59ae611d54ca69e9f967 (fixed)
Vendor states this is fixed in 64e5fd96330df2ad278d1c4edcca581f26e5f76e (fixed)
Vendor states this is fixed in 80fc836f3ebe2f2d2d2c80c698b7667974285a04 (fixed)
Vendor states this is fixed in f505e6c91e7a22d10316665a86d79f84d9f0ba76 (fixed)
Vendor states this is fixed in 5.12 (unaffected)
Vendor states this is fixed in 5.15.177 (unaffected)
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.6.74 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/09528bb1a4123e2a234eac2bc45a0e51e78dab43
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/280f1fb89afc01e7376f59ae611d54ca69e9f967
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64e5fd96330df2ad278d1c4edcca581f26e5f76e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/80fc836f3ebe2f2d2d2c80c698b7667974285a04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f505e6c91e7a22d10316665a86d79f84d9f0ba76
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