CVE-2026-99362

CriticalCVSS 9.8/10Last modified Nov 23, 2026

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.

Metrics

CVSS 3.1 9.8/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 47ee52986472dba068e8223cbaf1b65d74238781, < aff12e327620258123f847d7d06565f4555c5cb4; >= 47ee52986472dba068e8223cbaf1b65d74238781, < 6a26c5473bb112d8420ffd48d5331bc5fb5a2065; >= 47ee52986472dba068e8223cbaf1b65d74238781, < fa85acf074f000ad3d1a5ffb703128ff97de983d; >= 47ee52986472dba068e8223cbaf1b65d74238781, < cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59; >= 47ee52986472dba068e8223cbaf1b65d74238781, < 1a5a227bca6a8a9f9d31230697aeb84c62a21da6; >= 47ee52986472dba068e8223cbaf1b65d74238781, < 37fc2ec211630360e9aefcaaec8730db964645f2; >= 47ee52986472dba068e8223cbaf1b65d74238781, < ed98b0c57e5e84290c5b35428144ab26778905f3; >= 47ee52986472dba068e8223cbaf1b65d74238781, < 35ff1a7a7e3835c3e974bc5c45d335897564ceae
LinuxLinux3.16

References

Timeline

Published
Nov 19, 2026
Last modified
Nov 23, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99363In the Linux kernel, the following vulnerability has been resolved: NFSD: Map flex file layout IDs through the request's user namespace nfCVE-2026-99364In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix out-of-bounds read in the rpc_status dump nfsd_nl_rpc_statusCVE-2026-99365In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix id-to-name cache entry leak in idtoname_parse() idtoname_looCVE-2026-993669.8In the Linux kernel, the following vulnerability has been resolved: nfsd: don't modify a session slot when replaying its cached reply nfsdCVE-2026-99367In the Linux kernel, the following vulnerability has been resolved: NFSD: Don't complete a cld upcall the daemon has not read cld_pipe_dowCVE-2026-99368In the Linux kernel, the following vulnerability has been resolved: NFSD: Do not send CB_RECALL_ANY to NFSv4.0 clients deleg_reaper() sendCVE-2026-99369In the Linux kernel, the following vulnerability has been resolved: NFSD: Destroy a recalled delegation the client does not hold A client CVE-2026-99378.3Use after free in UI in Google Chrome on Windows prior to 148.0.7778.216 allowed a remote attacker who had compromised the renderer process CVE-2026-993709.4In the Linux kernel, the following vulnerability has been resolved: NFSD: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_CVE-2026-99371In the Linux kernel, the following vulnerability has been resolved: nfsd: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() useCVE-2026-99372In the Linux kernel, the following vulnerability has been resolved: NFSD: cap the number of listeners accepted in listener_set nfsd_nl_lisCVE-2026-99373In the Linux kernel, the following vulnerability has been resolved: NFS/localio: detect a short read or write before the iterator has moved
CVE-2026-99362: Critical severity, CVSS 9.8 | Vulnix