unscored
CVE-2026-99677
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 …
Impact
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".
Affected products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 527851124d10f9c50b1c578e0a56fcd49922422d before df8632f36be4693677c18966319ae546b4341061 from 527851124d10f9c50b1c578e0a56fcd49922422d before 8e0cea93da8755cfebe9a0ea7e2b37e68d59118d from 527851124d10f9c50b1c578e0a56fcd49922422d before e8c7a13a7b63542753ab3c6c55b142b09d207c78 from 527851124d10f9c50b1c578e0a56fcd49922422d before 29f3c1be4e554c9dbc66e13333034e0947477cb6 Versions 4.0, patch: 0 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/df8632f36be4693677c18966319ae546b4341061
- https://git.kernel.org/stable/c/8e0cea93da8755cfebe9a0ea7e2b37e68d59118d
- https://git.kernel.org/stable/c/e8c7a13a7b63542753ab3c6c55b142b09d207c78
- https://git.kernel.org/stable/c/29f3c1be4e554c9dbc66e13333034e0947477cb6
- https://github.com/advisories/GHSA-c237-cvrm-774j
- https://nvd.nist.gov/vuln/detail/CVE-2026-99677