What’s Vulnerable › Vulnerabilities

CVE-2026-99679: xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks

Description

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.

Summary

A Linux kernel flaw in XFS allows a pNFS LAYOUTCOMMIT to commit a hole in a range because nfsd does not validate extents against its layouts; xfs_iomap_write_unwritten() then allocates written blocks there. A large hole can overrun the block reservation and shut XFS down, while a small one can expose stale data. The issue affects Linux and is fixed in 7.4-rc2; it is not in CISA KEV and EPSS estimates a 0.2% chance of exploitation in 30 days. Update to the fixed kernel version, or apply the upstream patch that rejects such ranges with -EIO using XFS_BMAPI_CONVERT_ONLY.

ثغرة في نواة Linux ضمن XFS تسمح لعملية pNFS LAYOUTCOMMIT بتثبيت فجوة (hole) في نطاق ما لأن nfsd لا يتحقق من الامتدادات مقابل تخطيطاته؛ فتقوم الدالة xfs_iomap_write_unwritten() بتخصيص كتل مكتوبة هناك. الفجوة الكبيرة قد تتجاوز حجز الكتل وتؤدي إلى إيقاف XFS، أما الصغيرة فقد تكشف بيانات قديمة. تؤثر الثغرة في Linux وأُصلحت في 7.4-rc2، وهي ليست في CISA KEV وتقدّر EPSS احتمال استغلالها خلال 30 يوماً بنسبة 0.2%. يُنصح بالترقية إلى إصدار النواة المُصلح أو تطبيق الترقيع الذي يرفض هذه النطاقات بـ -EIO باستخدام XFS_BMAPI_CONVERT_ONLY.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.4-rc2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99679 or the next vulnerability affects your stack