What’s Vulnerable › Vulnerabilities
CVE-2026-99362: nfsd: preflight SEQUENCE replies before accepting a slot
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-19 · updated 2026-11-27
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: preflight SEQUENCE replies before accepting a slot nfsd4_sequence() narrows the reply buffer to the session's cached reply limit before it accepts the slot seqid. A client may negotiate ca_maxresponsesize_cached down to NFSD_MIN_HDR_SEQ_SZ, and nfsd4_alloc_slot() then gives every slot a zero-length sl_data[]. A COMPOUND tag can fill that narrowed buffer until it holds the SEQUENCE opcode but not the status word that follows. nfsd4_encode_operation() returns without running nfsd4_encode_sequence(), so cstate.data_offset stays zero. It leaves op->status at nfs_ok as well, so the COMPOUND is treated as having succeeded. nfsd4_store_cache_entry() declines to cache a lone SEQUENCE that returned an error. That test reads the status the operation reported, so it passes here. The copy starts at offset zero and takes the whole reply, RPC and COMPOUND headers included, into the zero-length sl_data[]. The COMPOUND tag is copied along with it, so the client picks most of the bytes written past the end of the slot: BUG: KASAN: slab-out-of-bounds in read_bytes_from_xdr_buf+0x1bc/0x390 Write of size 80 at addr ffff888003a549cd by task kunit_try_catch/24 __asan_memcpy+0x38/0x60 read_bytes_from_xdr_buf+0x1bc/0x390 nfsd4_sequence_done+0x5b0/0x810 nfs4svc_encode_compoundres+0x1bf/0x240 Check that the fixed-size SEQUENCE result, plus room for a following operation's error status, fits the negotiated limit before narrowing the buffer and consuming the slot seqid. The slot and its reply cache are left unchanged, as RFC 8881 Section 2.10.6.1.2 requires of an error returned from SEQUENCE.
Summary
A Linux kernel nfsd flaw lets a client negotiate a tiny cached reply size, causing a SEQUENCE reply to be written past a zero-length slot buffer (slab out-of-bounds write). This can corrupt kernel memory and potentially be exploited for privilege escalation or denial of service; CVSS is 9.8 critical. Affected is the Linux kernel nfsd code, fixed in 7.4-rc1. It is not in CISA KEV and EPSS estimates a 0.2% chance of exploitation in 30 days. Update to Linux 7.4-rc1 or later; until then, restrict NFS client access to trusted hosts.
توجد ثغرة في nfsd في نواة Linux تسمح للعميل بالتفاوض على حجم رد مخزّن صغير جدًا، ما يؤدي إلى كتابة رد SEQUENCE خارج حدود مخزن الفتحة ذي الطول الصفري (كتابة خارج الحدود في slab). قد يؤدي ذلك إلى إفساد ذاكرة النواة واحتمال استغلاله لتصعيد الصلاحيات أو حجب الخدمة، ودرجة CVSS هي 9.8 حرجة. تتأثر شيفرة nfsd في نواة Linux، وأُصلحت في 7.4-rc1. الثغرة ليست في CISA KEV وتقدّر EPSS احتمال استغلالها خلال 30 يومًا بـ 0.2%. حدّثوا إلى Linux 7.4-rc1 أو أحدث، وإلى حين ذلك قيّدوا وصول عملاء NFS إلى المضيفين الموثوقين.
Affected products
- Linux: 3.16 — fixed in 7.4-rc1
How to fix
Upgrade to a fixed version: Linux 7.4-rc1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6
- https://git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae
- https://git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2
- https://git.kernel.org/stable/c/6a26c5473bb112d8420ffd48d5331bc5fb5a2065
- https://git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4
- https://git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59
- https://git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3
- https://git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d
- https://lists.debian.org/debian-lts-announce/2026/11/msg00069.html
Get alerted when CVE-2026-99362 or the next vulnerability affects your stack