xfs: fix exchmaps reservation limit check (Linux Linux)

CVE-2026-64357
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: fix exchmaps reservation limit check xfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt overhead to a local resblks variable, but the final UINT_MAX check still tests req->resblks. That is the reservation value from before the overhead was added. The computed value is stored back in req->resblks and later passed to xfs_trans_alloc(), whose block reservation argument is unsigned int. Check the computed reservation so the existing limit applies to the value that will be used.

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:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 966ceafc7a437105ecfe1cadb3747b2965a260ca < c597c8580d50127fc1221b5a5b653a94d49e23e3 ; affected 966ceafc7a437105ecfe1cadb3747b2965a260ca < a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112 ; affected 966ceafc7a437105ecfe1cadb3747b2965a260ca < 4707344b0d36d1012c8a1716e20167cd3afdd5f1 ; affected 966ceafc7a437105ecfe1cadb3747b2965a260ca < 0a5213bbff62b51c7d4999ac8c7e11ea57d00d45
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.12.96 ≤ 6.12.* ; unaffected 6.18.39 ≤ 6.18.* ; unaffected 7.1.4 ≤ 7.1.* ; unaffected 7.2 ≤ *

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