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

CVE-2025-21665
MEDIUM 5.5

At a glance

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

Description

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.

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 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d < 64e5fd96330df2ad278d1c4edcca581f26e5f76e ; affected 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d < 80fc836f3ebe2f2d2d2c80c698b7667974285a04 ; affected 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d < 09528bb1a4123e2a234eac2bc45a0e51e78dab43 ; affected 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d < 280f1fb89afc01e7376f59ae611d54ca69e9f967 ; affected 54fa39ac2e00b1b8c2a7fe72e648773ffa48f76d < f505e6c91e7a22d10316665a86d79f84d9f0ba76
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.177 ≤ 5.15.* ; unaffected 6.1.127 ≤ 6.1.* ; unaffected 6.6.74 ≤ 6.6.* ; unaffected 6.12.11 ≤ 6.12.*

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