{"id":"CVE-2025-21667","summary":"iomap: avoid avoid truncating 64-bit offset to 32 bits","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niomap: avoid avoid truncating 64-bit offset to 32 bits\n\non 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a\n32-bit position due to folio_next_index() returning an unsigned long.\nThis could lead to an infinite loop when writing to an xfs filesystem.","modified":"2026-04-02T12:35:20.454471Z","published":"2025-01-31T11:25:31.792Z","related":["SUSE-SU-2025:0564-1","SUSE-SU-2025:0847-1","SUSE-SU-2025:0856-1","SUSE-SU-2025:0955-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21667.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/402ce16421477e27f30b57d6d1a6dc248fa3a4e4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ca4bd6b754913910151acce00be093f03642725"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91371922704c8d82049ef7c2ad974d0a2cd1174d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c13094b894de289514d84b8db56d1f2931a0bade"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21667.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21667"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-21667.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}