CVE-2026-64357

xfs: fix exchmaps reservation limit check

Published Jul 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The XFS filesystem routine that estimates block reservation overhead calculates the required blocks, then adds bmbt and rmapbt overhead before performing a limit check. However, the check mistakenly uses the pre‑overhead value. As a result, the transaction allocator receives a reservation size that may exceed the configured maximum. An adversary who can trigger block reservation—by using privileged local actions or leveraging another vulnerability—could force the kernel to reserve more blocks than the system can safely allocate, potentially exhausting kernel memory and causing a denial of service. The patch corrects the limit check to use the fully calculated reservation size, ensuring the block reservation stays within allowed limits.

Affected Systems

All Linux kernel versions that ship the XFS filesystem before the patch are affected. This includes every distribution that distributes unpatched kernels with the default XFS implementation.

Risk and Exploitability

The flaw is local to the kernel and requires an attacker to invoke the block reservation code, normally through privileged local operations or by combining with another flaw that provides such access. The EPSS score of < 1% indicates a low probability of exploitation. The CVSS score of 5.5 denotes moderate severity. The vulnerability is not listed in the CISA KEV catalog. If successfully exploited, the over‑reservation could deplete kernel resources and result in a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that includes the XFS reservation limit check fix
  • If an immediate kernel update is not possible, limit block reservations or use tighter filesystem volume limits to reduce the potential for over‑reservation
  • Enable kernel auditing for XFS transactions and monitor logs for abnormal block allocation activity

Generated by OpenCVE AI on September 4, 2026 at 23:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
Weaknesses CWE-190
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-680
Type Values Removed Values Added
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.
Title xfs: fix exchmaps reservation limit check
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:44 PM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 25, 2026, 10:17 AM
Modified
Nov 6, 2026, 5:18 PM
Severity
Moderate
Public date
Jul 25, 2026, 12:00 AM