What’s Vulnerable › Vulnerabilities
CVE-2026-99370: NFSD: copy SETXATTR data from all XDR buffer segments
- Severity: critical (CVSS 9.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-19 · updated 2026-11-23
Description
In the Linux kernel, the following vulnerability has been resolved: NFSD: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_vector() manually copies the head followed by whole pages starting at offset zero. This assumes that all remaining data starts at the beginning of the page array and that no data is stored in the tail. However, nfsd4_decode_setxattr() passes an xdr_buf returned by xdr_stream_subsegment(). Such a sub-buffer can have a nonzero page_base and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfs_setxattr(). Use read_bytes_from_xdr_buf(), which observes the complete xdr_buf layout.
Summary
A Linux kernel NFS server (NFSD) flaw in nfsd4_vbuf_from_vector() copies SETXATTR data assuming it starts at the beginning of the page array, ignoring nonzero page_base and tail segments, so wrong bytes can be passed to vfs_setxattr(). This can corrupt extended attributes set via NFS, with a critical CVSS score of 9.4. Affected is the Linux kernel; the fix is in Linux 5.11. It is not in CISA KEV and EPSS estimates a 0.2% chance of exploitation in 30 days; update to Linux 5.11 or later.
توجد ثغرة في نواة Linux في دالة nfsd4_vbuf_from_vector() الخاصة بخادم NFSD، إذ تنسخ بيانات SETXATTR بافتراض أنها تبدأ من أول مصفوفة الصفحات متجاهلةً page_base غير الصفري ومقاطع الذيل، ما قد يؤدي إلى تمرير بايتات خاطئة إلى vfs_setxattr(). وقد يؤدي ذلك إلى إفساد السمات الموسعة (extended attributes) المضبوطة عبر NFS، بدرجة خطورة CVSS تبلغ 9.4. المنتج المتأثر هو نواة Linux، والإصلاح متوفر في Linux 5.11. الثغرة ليست في CISA KEV وتقدّر EPSS احتمال استغلالها خلال 30 يوماً بنسبة 0.2%؛ يُنصح بالترقية إلى Linux 5.11 أو أحدث.
Affected products
- Linux: from 5.10.220 before 5.10.275 — fixed in 5.10.275
How to fix
Upgrade to a fixed version: Linux 5.10.275. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/019cf7e0eebf6dc14b465cc984390b41c854da69
- https://git.kernel.org/stable/c/1cfd4174cd278eac259a0b6742bbf3f486a13603
- https://git.kernel.org/stable/c/20b76bdbd029343ea98944cb88bf016da2371739
- https://git.kernel.org/stable/c/b01319947c69b0e3ea0fcd4b675eb892f9cad8a0
- https://git.kernel.org/stable/c/b5ff29c96ea95d351ab14b9043a25844c26ed41d
- https://git.kernel.org/stable/c/d887960eda2512330d7fc2fa41339cc94bca3df0
- https://git.kernel.org/stable/c/dcb096258b059d83320c29ef012643c6f4ee00d8
- https://git.kernel.org/stable/c/fea77ec4a37614cbbe4fb26c621227182439f487
Get alerted when CVE-2026-99370 or the next vulnerability affects your stack