In the Linux kernel, the following vulnerability has been resolved: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks A client can commit a hole in a LAYOUTCOMMIT, because nfsd does not check the extents against its layouts. xfs_iomap_write_unwritten() then allocates written blocks there. A large hole overruns the block reservation and shuts XFS down. A small one exposes stale data. Refuse such a range with -EIO, using XFS_BMAPI_CONVERT_ONLY.
https://git.kernel.org/stable/c/d13039937a44e935ed57d661f3f4adcde8375785
https://git.kernel.org/stable/c/bcf0b7f18ad11e1d410e82ffef678705eff0a317