Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-21665

filemap: avoid truncating 64-bit offset to 32 bits

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d to < 64e5fd96330df2ad278d1c4edcca581f26e5f76eaffected
  • 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d to < 80fc836f3ebe2f2d2d2c80c698b7667974285a04affected
  • 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d to < 09528bb1a4123e2a234eac2bc45a0e51e78dab43affected
  • 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d to < 280f1fb89afc01e7376f59ae611d54ca69e9f967affected
  • 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d to < f505e6c91e7a22d10316665a86d79f84d9f0ba76affected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.15.177 to ≤ 5.15.*unaffected
  • 6.1.127 to ≤ 6.1.*unaffected
  • 6.6.74 to ≤ 6.6.*unaffected
  • 6.12.11 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References