CVE-2026-99677
xfs: clamp the pNFS layout range to the maximum file size
- Severity
- unscored
- Affects
- Linux
- Published
- 20 November 2026 by Linux
- First seen on our lists
- 20 November 2026
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".
Our coverage
We have not written about this one. Know why it matters? Send a tip.