# CVE-2026-99677: xfs: clamp the pNFS layout range to the maximum file size

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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".

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < 7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < bddce9ea41ffab37e71b7a668eceed515a3c4b3d (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < 26658a10a18cd59f1f270e4fe3b30165a187f8e3 (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < d892672cb91a831de7e4059bf9a15f4ce56333ab (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < df8632f36be4693677c18966319ae546b4341061 (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < 8e0cea93da8755cfebe9a0ea7e2b37e68d59118d (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < e8c7a13a7b63542753ab3c6c55b142b09d207c78 (affected, git); ≥ 527851124d10f9c50b1c578e0a56fcd49922422d; < 29f3c1be4e554c9dbc66e13333034e0947477cb6 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.0 (affected); ≥ 0; < 4.0 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.18%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 (CNA: Linux)

- https://git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d (CNA: Linux)

- https://git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3 (CNA: Linux)

- https://git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab (CNA: Linux)

- https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061 (CNA: Linux)

- https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d (CNA: Linux)

- https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78 (CNA: Linux)

- https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6 (CNA: Linux)

- https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99677; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99677; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99677; retrieved 2026-11-23; source updated Not reported

Revision: 2611ef3b4d3ce91be001d385c228f3188b0b8eaecc5ad52e531561e75fffe4f2

Canonical: https://y2.dev/cve/CVE-2026-99677

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.