CVE-2026-64357 PUBLISHED

xfs: fix exchmaps reservation limit check

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 966ceafc7a437105ecfe1cadb3747b2965a260ca to c597c8580d50127fc1221b5a5b653a94d49e23e3 (excl.)
  • affected from 966ceafc7a437105ecfe1cadb3747b2965a260ca to a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112 (excl.)
  • affected from 966ceafc7a437105ecfe1cadb3747b2965a260ca to 4707344b0d36d1012c8a1716e20167cd3afdd5f1 (excl.)
  • affected from 966ceafc7a437105ecfe1cadb3747b2965a260ca to 0a5213bbff62b51c7d4999ac8c7e11ea57d00d45 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.10 is affected
  • unaffected from 0 to 6.10 (excl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References