xfs: fix exchmaps reservation limit check
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.96, 6.18.39, 7.1.4
- CVEs
- CVE-2026-64357
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 18:36 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-64357
Kernel
Fixed versions: 6.12.96, 6.18.39, 7.1.4
Complete source record
{
"id": "fa1c1c9eb17f15867ec23a59fb90fd6705667629e9fb4817b69701c09bcb10b8",
"url": "https://osv.dev/vulnerability/CVE-2026-64357",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "xfs: fix exchmaps reservation limit check",
"summary": "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.",
"evidence": "osv:CVE-2026-64357",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.96",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.39",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-64357",
"aliases": [
"CVE-2026-64357"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "966ceafc7a437105ecfe1cadb3747b2965a260ca"
},
{
"fixed": "c597c8580d50127fc1221b5a5b653a94d49e23e3"
},
{
"fixed": "a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112"
},
{
"fixed": "4707344b0d36d1012c8a1716e20167cd3afdd5f1"
},
{
"fixed": "0a5213bbff62b51c7d4999ac8c7e11ea57d00d45"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64357.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.10.0"
},
{
"fixed": "6.12.96"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64357.json"
}
}
],
"modified": "2026-10-28T02:30:51.507935312Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0a5213bbff62b51c7d4999ac8c7e11ea57d00d45",
"https://git.kernel.org/stable/c/4707344b0d36d1012c8a1716e20167cd3afdd5f1",
"https://git.kernel.org/stable/c/a62ef2d13d6e7270dd5e88c6082bf2d0edcd5112",
"https://git.kernel.org/stable/c/c597c8580d50127fc1221b5a5b653a94d49e23e3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64357.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-64357",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64357.json"
}
},
"related_cves": [
{
"value": "CVE-2026-64357",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 520107,
"published_at": "2026-07-25T08:50:14.676+00:00"
}