What’s Vulnerable › Vulnerabilities

CVE-2026-99680: xfs: mark the inode preallocated for pNFS write layouts past EOF

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: mark the inode preallocated for pNFS write layouts past EOF xfs_fs_map_blocks() marks the inode XFS_DIFLAG_PREALLOC only when it allocates blocks for a write layout. A write layout past EOF can also hand out allocated blocks, such as speculative preallocation. blockgc then frees them under the layout, and another file may get them. Mark the inode whenever a write mapping ends past EOF.

Summary

A Linux kernel XFS flaw in xfs_fs_map_blocks() fails to mark the inode XFS_DIFLAG_PREALLOC when a pNFS write layout extends past EOF, so blockgc can free blocks still covered by the layout and another file may receive them. This can cause data corruption or cross-file data exposure and is rated critical (CVSS 9.4). Affected is the Linux kernel, 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 Linux 7.4-rc2 or later; until then, avoid pNFS write layouts past EOF on XFS or restrict untrusted access to affected systems.

توجد ثغرة في نواة Linux داخل الدالة xfs_fs_map_blocks() في نظام XFS، إذ لا يتم تعليم الـ inode بالعلم XFS_DIFLAG_PREALLOC عند امتداد تخطيط كتابة pNFS إلى ما بعد EOF، ما قد يجعل blockgc يحرّر كتلًا لا تزال مشمولة بالتخطيط وقد تحصل عليها ملفات أخرى. قد يؤدي ذلك إلى تلف البيانات أو كشف بيانات بين الملفات، وقد صُنّفت خطيرة (CVSS 9.4). المنتج المتأثر هو نواة Linux، وأُصلحت الثغرة في الإصدار 7.4-rc2. الثغرة ليست ضمن CISA KEV، وتقدّر EPSS احتمال استغلالها خلال 30 يومًا بنسبة 0.2%. يُنصح بالترقية إلى Linux 7.4-rc2 أو أحدث، وإلى حين ذلك تجنّب تخطيطات كتابة pNFS التي تتجاوز EOF على XFS أو تقييد الوصول غير الموثوق إلى الأنظمة المتأثرة.

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-99680 or the next vulnerability affects your stack