CVE-2025-21665

published 31 Jan 2025 · updated 12 Aug 2026

filemap: 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 09528bb1a4123e2a234eac2bc45a0e51e78dab43, Kernel 280f1fb89afc01e7376f59ae611d54ca69e9f967, Kernel 64e5fd96330df2ad278d1c4edcca581f26e5f76e and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d <09528bb1a4123e2a234eac2bc45a0e51e78dab43, >=54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d <280f1fb89afc01e7376f59ae611d54ca69e9f967, >=54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d <64e5fd96330df2ad278d1c4edcca581f26e5f76e, >=54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d <80fc836f3ebe2f2d2d2c80c698b7667974285a04, >=54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d <f505e6c91e7a22d10316665a86d79f84d9f0ba7609528bb1a4123e2a234eac2bc45a0e51e78dab43, 280f1fb89afc01e7376f59ae611d54ca69e9f967, 64e5fd96330df2ad278d1c4edcca581f26e5f76e, 80fc836f3ebe2f2d2d2c80c698b7667974285a04, f505e6c91e7a22d10316665a86d79f84d9f0ba76

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-21665 severity on Zeptric[![CVE-2025-21665](https://zeptric.io/badge/cve/CVE-2025-21665.svg)](https://zeptric.io/cve/CVE-2025-21665)