{"id":"CVE-2026-64357","state":"PUBLISHED","title":"xfs: fix exchmaps reservation limit check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix exchmaps reservation limit check\n\nxfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt\noverhead to a local resblks variable, but the final UINT_MAX\ncheck still tests req->resblks.  That is the reservation value\nfrom before the overhead was added.\n\nThe computed value is stored back in req->resblks and later passed\nto xfs_trans_alloc(), whose block reservation argument is unsigned\nint.  Check the computed reservation so the existing limit applies\nto the value that will be used.","publishedAt":"2026-07-25T08:50:14.676Z","updatedAt":"2026-08-17T04:54:03.348Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"c597c8580d50127fc1221b5a5b653a94d49e23e3","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"4707344b0d36d1012c8a1716e20167cd3afdd5f1","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"0a5213bbff62b51c7d4999ac8c7e11ea57d00d45","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_exchmaps.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_exchmaps.c"]}],"references":["https://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3","https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112","https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1","https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64357.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64357","state":"PUBLISHED","datePublished":"2026-07-25T08:50:14.676Z","dateUpdated":"2026-08-17T04:54:03.348Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.782Z"},"containers":{"cna":{"title":"xfs: fix exchmaps reservation limit check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix exchmaps reservation limit check\n\nxfs_exchmaps_estimate_overhead() adds the bmbt and rmapbt\noverhead to a local resblks variable, but the final UINT_MAX\ncheck still tests req->resblks.  That is the reservation value\nfrom before the overhead was added.\n\nThe computed value is stored back in req->resblks and later passed\nto xfs_trans_alloc(), whose block reservation argument is unsigned\nint.  Check the computed reservation so the existing limit applies\nto the value that will be used."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"c597c8580d50127fc1221b5a5b653a94d49e23e3","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"4707344b0d36d1012c8a1716e20167cd3afdd5f1","versionType":"git"},{"version":"966ceafc7a437105ecfe1cadb3747b2965a260ca","status":"affected","lessThan":"0a5213bbff62b51c7d4999ac8c7e11ea57d00d45","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_exchmaps.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_exchmaps.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3"},{"url":"https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112"},{"url":"https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1"},{"url":"https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:54:03.348Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}