CVE-2026-99679: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks

Published Nov 20, 2026
·
Updated

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

1 affected componentFixes available
linux/kernel>=4.0.0<7.3.5
7.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5
  2. Compensating control

    In XFS, refuse pNFS LAYOUTCOMMIT ranges without blocks with -EIO, using XFS_BMAPI_CONVERT_ONLY.

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203