CVE-2025-21665

Source
https://cve.org/CVERecord?id=CVE-2025-21665
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21665.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21665
Downstream
Related
Published
2025-01-31T11:25:30.468Z
Modified
2026-05-18T05:59:12.110177019Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
filemap: avoid truncating 64-bit offset to 32 bits
Details

In the Linux kernel, the following vulnerability has been resolved:

filemap: avoid truncating 64-bit offset to 32 bits

On 32-bit kernels, folioseekhole_data() was inadvertently truncating a 64-bit value to 32 bits, leading to a possible infinite loop when writing to an xfs filesystem.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21665.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d
Fixed
64e5fd96330df2ad278d1c4edcca581f26e5f76e
Fixed
80fc836f3ebe2f2d2d2c80c698b7667974285a04
Fixed
09528bb1a4123e2a234eac2bc45a0e51e78dab43
Fixed
280f1fb89afc01e7376f59ae611d54ca69e9f967
Fixed
f505e6c91e7a22d10316665a86d79f84d9f0ba76

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21665.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.12.0
Fixed
5.15.177
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.127
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.74
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21665.json"