# CVE-2026-64357: xfs: fix exchmaps reservation limit check

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:50:14.676Z
- Modified: 2026-11-06T17:18:51.510Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 966ceafc7a437105ecfe1cadb3747b2965a260ca before c597c8580d50127fc1221b5a5b653a94d49e23e3; from 966ceafc7a437105ecfe1cadb3747b2965a260ca before a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112; from 966ceafc7a437105ecfe1cadb3747b2965a260ca before 4707344b0d36d1012c8a1716e20167cd3afdd5f1; from 966ceafc7a437105ecfe1cadb3747b2965a260ca before 0a5213bbff62b51c7d4999ac8c7e11ea57d00d45; 6.10 (not affected: before 6.10; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.10 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3> (patch)
- <https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112> (patch)
- <https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1> (patch)
- <https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45> (patch)

## Sources

- CVE List: [CVE-2026-64357](https://www.cve.org/CVERecord?id=CVE-2026-64357), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-64357](https://nvd.nist.gov/vuln/detail/CVE-2026-64357), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-64357 · Whole record: https://cve.day/CVE-2026-64357.json · Rebuilt by cve.day 2026-11-25T22:59:30.084Z
