CVE-2026-99677
xfs: clamp the pNFS layout range to the maximum file size
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: clamp the pNFS layout range to the maximum file size xfs_fs_map_blocks() lets two bad layout ranges through. An offset of 2^63 or more is negative and passes "offset > limit". A length above the limit, such as NFS4_UINT64_MAX, wraps "offset > limit - length" and stays unclamped. With NFS4_UINT64_MAX, a read layout is built from an uninitialized mapping. Reject a negative offset and one at the limit, and clamp the length. This needs "xfs: cap the block count of xfs_iomap_write_direct() at one extent".
INFO
Published Date :
Nov. 20, 2026, 6:18 a.m.
Last Modified :
Nov. 23, 2026, 8:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the Linux kernel patch for xfs layout range clamping.
- Apply the xfs: cap block count patch.
- Update the Linux kernel to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99677.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99677 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99677
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99677 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99677 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99677.json">CVE-2026-99677</a> Added Reference https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3 Added Reference https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 Added Reference https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d Added Reference https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 20, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: xfs: clamp the pNFS layout range to the maximum file size xfs_fs_map_blocks() lets two bad layout ranges through. An offset of 2^63 or more is negative and passes "offset > limit". A length above the limit, such as NFS4_UINT64_MAX, wraps "offset > limit - length" and stays unclamped. With NFS4_UINT64_MAX, a read layout is built from an uninitialized mapping. Reject a negative offset and one at the limit, and clamp the length. This needs "xfs: cap the block count of xfs_iomap_write_direct() at one extent". Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99677.json">CVE-2026-99677</a> Added Reference https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6 Added Reference https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d Added Reference https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061 Added Reference https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78