xfs: clamp the pNFS layout range to the maximum file size
Summary
| CVE | CVE-2026-99677 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 06:18:02 UTC |
| Updated | 2026-11-23 08:18:08 UTC |
| 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". |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.061770000 (date 2026-11-22)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d 7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d bddce9ea41ffab37e71b7a668eceed515a3c4b3d git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d 26658a10a18cd59f1f270e4fe3b30165a187f8e3 git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d d892672cb91a831de7e4059bf9a15f4ce56333ab git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d df8632f36be4693677c18966319ae546b4341061 git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d 8e0cea93da8755cfebe9a0ea7e2b37e68d59118d git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d e8c7a13a7b63542753ab3c6c55b142b09d207c78 git | Not specified |
| CNA | Linux | Linux | affected 527851124d10f9c50b1c578e0a56fcd49922422d 29f3c1be4e554c9dbc66e13333034e0947477cb6 git | Not specified |
| CNA | Linux | Linux | affected 4.0 | Not specified |
| CNA | Linux | Linux | unaffected 4.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.275 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.226 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.193 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.163 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.118 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.64 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.5 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d892672cb91a831de7e4059bf9a15f4ce56333ab | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7d1a420f9cec55eb76310cb4d4c5fbd76358d4c4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bddce9ea41ffab37e71b7a668eceed515a3c4b3d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/26658a10a18cd59f1f270e4fe3b30165a187f8e3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.