nfsd: preflight SEQUENCE replies before accepting a slot

Summary

CVECVE-2026-99362
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-19 15:17:47 UTC
Updated2026-11-28 22:16:52 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

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

EPSS: 0.010800000 probability, percentile 0.646940000 (date 2026-11-28)


VersionSourceTypeScoreSeverityVector
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 aff12e327620258123f847d7d06565f4555c5cb4 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 6a26c5473bb112d8420ffd48d5331bc5fb5a2065 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 fa85acf074f000ad3d1a5ffb703128ff97de983d git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 1a5a227bca6a8a9f9d31230697aeb84c62a21da6 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 37fc2ec211630360e9aefcaaec8730db964645f2 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 ed98b0c57e5e84290c5b35428144ab26778905f3 git Not specified
CNA Linux Linux affected 47ee52986472dba068e8223cbaf1b65d74238781 35ff1a7a7e3835c3e974bc5c45d335897564ceae git Not specified
CNA Linux Linux affected 3.16 Not specified
CNA Linux Linux unaffected 3.16 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.61 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.2 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/aff12e327620258123f847d7d06565f4555c5cb4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1a5a227bca6a8a9f9d31230697aeb84c62a21da6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
www.openwall.com/lists/oss-security/2026/11/28/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
git.kernel.org/stable/c/35ff1a7a7e3835c3e974bc5c45d335897564ceae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
lists.debian.org/debian-lts-announce/2026/11/msg00069.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
git.kernel.org/stable/c/37fc2ec211630360e9aefcaaec8730db964645f2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ed98b0c57e5e84290c5b35428144ab26778905f3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6a26c5473bb112d8420ffd48d5331bc5fb5a2065 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fa85acf074f000ad3d1a5ffb703128ff97de983d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cd303eb29cf34a6780f4c42aca5b8ca4a05a5d59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report