iomap: avoid avoid truncating 64-bit offset to 32 bits (Linux Linux)

CVE-2025-21667
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: iomap: avoid avoid truncating 64-bit offset to 32 bits on 32-bit kernels, iomap_write_delalloc_scan() was inadvertently using a 32-bit position due to folio_next_index() returning an unsigned long. This could lead to an infinite loop when writing to an xfs filesystem.

Weaknesses (CWE)

  • CWE-835 — Loop with Unreachable Exit Condition

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d < 7ca4bd6b754913910151acce00be093f03642725 ; affected f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 < 91371922704c8d82049ef7c2ad974d0a2cd1174d ; affected f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 < 402ce16421477e27f30b57d6d1a6dc248fa3a4e4 ; affected f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 < c13094b894de289514d84b8db56d1f2931a0bade ; affected 6.1.92 < 6.1.127
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.1.127 ≤ 6.1.* ; unaffected 6.6.74 ≤ 6.6.* ; unaffected 6.12.11 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD