CVE-2026-99677

xfs: clamp the pNFS layout range to the maximum file size

State
Published
Severity
Not scored
Published
Nov 20, 2026
Updated
Nov 20, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 527851124d10f9c50b1c578e0a56fcd49922422d to before df8632f36be4693677c18966319ae546b4341061Affected
  • 527851124d10f9c50b1c578e0a56fcd49922422d to before 8e0cea93da8755cfebe9a0ea7e2b37e68d59118dAffected
  • 527851124d10f9c50b1c578e0a56fcd49922422d to before e8c7a13a7b63542753ab3c6c55b142b09d207c78Affected
  • 527851124d10f9c50b1c578e0a56fcd49922422d to before 29f3c1be4e554c9dbc66e13333034e0947477cb6Affected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 6.12.118 through 6.12.*Not affected
  • 6.18.64 through 6.18.*Not affected
  • 7.3.5 through 7.3.*Not affected
  • 7.4-rc2 and laterNot affected

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.