CVE-2026-99362Linux
Out-of-bounds write in Linux kernel nfsd NFSv4 SEQUENCE handling
Critical 9.8 No auth neededRecent
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A flaw in the Linux kernel's nfsd NFSv4 SEQUENCE reply handling allows an unauthenticated remote client to trigger a slab out-of-bounds write, fully compromising confidentiality, integrity, and availability. The issue arises when a client negotiates ca_maxresponsesize_cached to the minimum, resulting in zero-length slot buffers.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
Patch available
Apply the kernel patches available on git.kernel.org for the affected stable branches as soon as possible.
Vendor advisory · git.kernel.org ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Linux · Linux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
In the news
- NFS2ROOT: vulnerabilidad de 12 años en Linux permite obtener acceso root remoto sin autenticación en el servidor NFS · Segu-Info · Nov 26, 2026
Security media stories that mention this CVE. Titles unmodified.
On social media
22 people and 24 posts on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.