CVE-2026-99679: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
In the Linux kernel, the following vulnerability has been resolved:
xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks
A client can commit a hole in a LAYOUTCOMMIT, because nfsd does not check the extents against its layouts. xfsiomapwriteunwritten() then allocates written blocks there. A large hole overruns the block reservation and shuts XFS down. A small one exposes stale data.
Refuse such a range with -EIO, using XFSBMAPICONVERTONLY.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Compensating control
In XFS, refuse pNFS LAYOUTCOMMIT ranges without blocks with -EIO, using XFS_BMAPI_CONVERT_ONLY.
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using XFS with NFS server support for pNFS LAYOUTCOMMIT operations are exposed. The issue is triggered when the server accepts a LAYOUTCOMMIT for a range that has no allocated blocks.
What can a client do by exploiting the flaw?
A client can commit a hole through LAYOUTCOMMIT. Large holes can exhaust the block reservation and force XFS to shut down, while small holes can expose stale data.
How does the resolved behavior prevent exploitation?
The fix rejects LAYOUTCOMMIT ranges without blocks with -EIO. It uses XFS_BMAPI_CONVERT_ONLY so that the operation does not allocate written blocks for a hole.