CVE-2025-21667

Source
https://cve.org/CVERecord?id=CVE-2025-21667
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21667.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21667
Downstream
Related
Published
2025-01-31T11:25:31.792Z
Modified
2026-03-20T12:40:40.360890Z
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
iomap: avoid avoid truncating 64-bit offset to 32 bits
Details

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

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

on 32-bit kernels, iomapwritedelallocscan() was inadvertently using a 32-bit position due to folionext_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21667.json"
}
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
38be53c3fd7f4f4bd5de319a323d72f9f6beb16d
Fixed
7ca4bd6b754913910151acce00be093f03642725
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78
Fixed
91371922704c8d82049ef7c2ad974d0a2cd1174d
Fixed
402ce16421477e27f30b57d6d1a6dc248fa3a4e4
Fixed
c13094b894de289514d84b8db56d1f2931a0bade

Database specific

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